n=input() i=t=2-3*n while-t>=i:j=i+n&1;o=n-abs(i)>>1;o*=o/n*3;exec"print(' '*o+' ## # '[j::2]*20)[:j-3*t-o];"*-~j;i+=1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page