Google Interview Question

Convert a number to a different base