n=input() a,b=" "+" ##"*n,"#"+" #"*(n-1)+"\n" print a+"\n "+b*4+" "+b+a

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top