_=raw_input() i=0 j=len(_) while 1:print _[-i]+(~-j*' '[:i%j]or _[1:][::i%-3+1])+_[i%j];i+=1
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page