UVA11489 Integer Game

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=26&page=show_problem&problem=2484 [PDF](https://uva.onlinejudge.org/external/114/p11489.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11489/9dd009683f1e9c7e3615ea294168b68d455dec05.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11489/88f2ae8a86e2fcc18739033fc26daad17551776d.png)

Output Format

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