UVA276 Egyptian Multiplication

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=4&page=show_problem&problem=212 [PDF](https://uva.onlinejudge.org/external/2/p276.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA276/3e3850d49e159c782983df24a038f7939bc517c0.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA276/57310300f70196a1ac7dfecbaa5fd676e0293e9b.png)