UVA12759 Increasingly Strict Sequence

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=823&page=show_problem&problem=4612 [PDF](https://uva.onlinejudge.org/external/127/p12759.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12759/a2e6c5af6e1ba30d6f77112075e9935298856690.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA12759/131e260a4228137002f8f2be8dc01259516333b8.png)