r=raw_input().split() i=1 for x in r:print' '.join(r);c=-len(x);x+=r[i];i+=1;r[i-2:i]=x[:c],x[c:]

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

download

return to the top page