UVA10484 Divisibility of Factors

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=16&page=show_problem&problem=1425 [PDF](https://uva.onlinejudge.org/external/104/p10484.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10484/6e9cee025b59308f1fb93fa9efe79f090167077f.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10484/5c98fce9c9618426f27acd19d334726546154f65.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10484/8fbf8c35be7e5dc4239b2fc112bfba4f9eaf65f7.png)