UVA772 Divide et unita

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=9&page=show_problem&problem=713 [PDF](https://uva.onlinejudge.org/external/7/p772.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA772/e87ecb2f0a19ac2f38c838c72690f8d787fbcc91.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA772/9b717d696cb827b0bafbfdcbc592f58d2cc4e3b8.png)