base convert by aglias

while(0<1){var a=readLine split" "map{_ toInt};println{Integer toString(a{0},a{1})}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return top