n=input() r=range(1,n) for i in r:print''.join(chr(48+c+(c>9)*7)for j in r for c in(-16,i*j/n or-16,i*j%n))

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

download

return to the top page