UVA10539 几乎是素数 Almost Prime Numbers

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1480 [PDF](https://uva.onlinejudge.org/external/105/p10539.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10539/57056b78510d3231145c5d829f0bf70ad9bc84b6.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10539/57a619b6b278b0e8ab270622f3532575eb389c37.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10539/54c6334de1dccc8d6de0834ca1e3163626ea0dc5.png)