a=raw_input() j=l=len(a) for c in a:print[(" "*~-abs(j/2)).join(c*3).center(l),a][j==1];j-=2
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page