UVA10858 Unique Factorization

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=20&page=show_problem&problem=1799 [PDF](https://uva.onlinejudge.org/external/108/p10858.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10858/42269c7128b4e51e66a3799756e6602eb4b5183f.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10858/649d27ae6bb8cdef974207785167de7a7dfd5d2f.png)