for(;Q=P=readline();print())for(F in Q)51^51&P&&putstr(Q[P|=1<<Q.charCodeAt(F)-111,F])
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page