for(;s=readline(a=[]).split(' ');){ for(j=0;c=s[j++];)a[c]=+[a[c]]+1 for(i=99;--i;)for(j=0;j<10;)i==a[j++]&&putstr(i) print() }
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page