base convert by xulapp

s=''
while 1:
\x09n,b=map(int,raw_input(s).split());s='\n'
\x09while n:s=`n%b`+s;n/=b

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

download

return top