s=raw_input() l=len(s);i=l/2;p=1 for c in s:i-=p;k=i<0;p-=2*k;print k*s or(i*' ').join(c*3).center(l)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page