for(;a=readline(x=o="");print(o))for each(y in a)x<y?o+=x=y:0
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page