UVA10473 Simple Base Conversion

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1414 [PDF](https://uva.onlinejudge.org/external/104/p10473.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10473/8a0b2bbbf376edaf0ee7ec3f41eb7ccb8c4a1332.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10473/e56260a7414b49e4408f1a2c8fdb201c6c5dc4f3.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10473/6918517b4e6a46dcede6d496f4653c810ed4dd19.png)