s=int(raw_input())\x0d for x in range(1,s+1): print '1'*s if x == 1 or x == s else '1'+('0'*(s-2))+'1'
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page