segs by hirose

s=raw_input()
i=j=l=len(s)
while i:
\x09print s[i-1:j];j+=1
\x09if j>l:j=i=i-1

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

download

return top