r=range(1,input()+1) for i in r:print''.join(' t'[all(i%~k+j%~k for k in r)]for j in r)

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

download

return top