print@x=<>=~/\D/g,map//g,sort{$a-$b}map{@n=10..99;@n=("@n"+//,map{($=)=sort$n[1]+1,$=+1,($&ne$_)+shift@n}@x)for//g;$=.$_}<>
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page