printf sort{$a-$b}1+y///c+2*($x=y/04689//+y/8//),2*y///c+$x-1for<>