a=raw_input()+" " b=len(a)/4+1 print a[:b] for i in range(b-2):print a[4*b-5-i]+" "*(b-2)+a[b+i] print a[2*b-2:3*b-2][::-1]

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

download

return top