UVA11669 Non Decreasing Prime Sequence

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=78&page=show_problem&problem=2716 [PDF](https://uva.onlinejudge.org/external/116/p11669.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11669/063765ee1bc438ca32f1fcf37ff9fe229d7c11dd.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11669/95bda9281ff449c7cc1393a2567df09abc44bc8f.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11669/39aeed30a4d227c98219c3077804494f1e9eb82b.png)