Summation of Four Primes

题目描述

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=13&page=show_problem&problem=1109 [PDF](https://uva.onlinejudge.org/external/101/p10168.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10168/dbd4c633d17141608a1ca55bfb89b726db193b22.png)

输入输出格式

输入格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10168/66ad48d44c3f3562fa7cfd6e5f3376d7f4aa508a.png)

输出格式


![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA10168/412b44ff2cf760df62a83d3e72a6f5c9356295ae.png)

输入输出样例

输入样例 #1

24
36
46

输出样例 #1

3 11 3 7
3 7 13 13
11 11 17 7