s=['a'] b=98 for v in raw_input():s=[s+[len(s[0])*chr(b)],[x+chr(b)for x in s]]["?">v];b+=1 for z in s:print z
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page