r=raw_input()+" " i=l=len(r)+6>>2 print r[:l] while~-l*2>i:print r[5*l-5-i]+" "*(l-2)+r[i];i+=1 print r[i:l+i][::-1]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page