UVA11651 Krypton Number System

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=78&page=show_problem&problem=2698 [PDF](https://uva.onlinejudge.org/external/116/p11651.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11651/cd6204e54a0188d8bb9b7ea631e0330df1cc4ae0.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11651/3842c803c39651dacd5a249f791216947e15e267.png)