j=''.join while 1: l=9*['/'] for i in raw_input():l[j(l).count(i)]+=i print j(l).strip('/')
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page