base convert by primo (alt)

f=lambda a,b:a and f(a/b,b)*10+a%b
while 1:print f(*map(int,raw_input().split()))

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

download

return to the top page