r=raw_input() i=l=len(r) for c in r:i-=2;print~i and(c+c.center(abs(i+1)-1)+c).center(l)or r
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page