Gapplet

For n Z in a-ary format, and b {1, ..., 36}, we compute its b-ary representation.

Input a 
</COMMENT>
Input n in a-ary representation 
e.g., "A98FB"
if a>14.
</COMMENT>
Input b 
</COMMENT>
 
 
compute (n)b
</COMMENT>
 
The letters A, B, ..., Z
stand for 10, ..., 36 mod a.
</COMMENT>