UVA553 Simply proportion

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=7&page=show_problem&problem=494 [PDF](https://uva.onlinejudge.org/external/5/p553.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA553/d6b5a0f58b7760fa0c8b86c9e2f089c272469c60.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA553/2cb2fdf5cbf75b069d888d6544269a4026147063.png)

Output Format

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