UVA12720 Algorithm of Phil

Description

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

Input Format

N/A

Output Format

N/A