puts ('1'..'1'*6).sort_by{|x|[x=~/0/?9:x.sum%48,x.hex]}[0,?d]
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page