segs by kt3k

a=raw_input()
i=len(a)
exec"i=j=i-1\nwhile a[j:]:j+=1;print a[i:j]\n"*i

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

download

return top