UVA10179 Irreducable Basic Fractions

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1120 [PDF](https://uva.onlinejudge.org/external/101/p10179.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10179/9620a43ff9b7f7c199916d89f9baccfbc26a1bcb.png)

Input Format

N/A

Output Format

N/A