segs by SeeNoEvil

s=raw_input()
n=l=len(s)
while n:
 x=n=n-1
 while x<l:x+=1;print s[n:x]

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

download

return top