Steps line FIXED by Hendrik

i=b=0;s=""
for c in raw_input():s+=i*('\n'+~-b*' ')+c;b+=i^1;i^=c<'A'
print s

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

download

return top