UVA10650 Determinate Prime

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=18&page=show_problem&problem=1591 [PDF](https://uva.onlinejudge.org/external/106/p10650.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10650/101d64b39a57e48d014892b48efa65e0a2179358.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10650/4c96c70c8dd66917b33690b07f9c9f609b32e962.png)

Output Format

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