s=raw_input() n=len(s) for i in range(n): t=s if i!=n/2:t=n*[' '];t[i]=t[n/2]=t[n-i-1]=s[i] print''.join(t)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page