UVA10394 Twin Primes

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=15&page=show_problem&problem=1335 [PDF](https://uva.onlinejudge.org/external/103/p10394.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10394/92e1f342d9f6f4503020d81589671ff95a56ea30.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10394/13af997744ea3b9e7816a3eb8ed7dbca7fa9efce.png)