system("perl -e '$_.=$*=<>until/\n *\n/;$_=$*x($/=/# /*6+/##/*2).$_|<>;print$*x($.-1+s%^#*\n%%mg).$_'")