UVA10533 Digit Primes

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1474 [PDF](https://uva.onlinejudge.org/external/105/p10533.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10533/55437aba1a3e80571726a1be20c45a3f18ea6a9c.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10533/17fb1cf5a95f92ed0e8cf7ef1359a39fe02403a8.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10533/58d00547c44d506e2b54b52e9b4660aec2310ff5.png)