a=raw_input() l=len(a) print a+a[0] for i in range(1,l):print a[l-i]+" "*(l-1)+a[i] print a[0]+a[::-1]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page