base convert by hallvabo

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

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

download

return top