s=raw_input() n=int(s[0]) k=2*~-n for i in range(n):print''.join(s[1:][j%k in[k-i,i]]for j in range(k*~-n-~i))
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page