Pileup by macik

s=raw_input().split()
i=0
while 1:print' '.join(s);i+=1;l=len(s[i]);u=s[i-1]+s[i];s[i-1],s[i]=u[:l],u[l:]

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

download

return to the top page