n=input() R=range(1,n) for r in R:print"".join(chr(v+7*(v>9)+48)for c in R for v in[-16,r*c/n or-16,r*c%n])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page