for(b=[];s=readline();)for(j=50;j--;b[j]=x!=' '?x+[b[j]]:b[j])x=s[j] for(k=30;k--;~(o-1)&&print(o))for(j=o='';j<50;)o+=b[j++][k]||' '
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page