Back and forth by hallvabo

x,_=0,1
while~0:
 for(w)in raw_input().split():p=x;x+=len(w)*_;print' '*min(p,x)+w[::_];_=-_

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top