UVA13074 Fixed-point theorem

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=866&page=show_problem&problem=4972 [PDF](https://uva.onlinejudge.org/external/130/p13074.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13074/1b450bd68438e824a542f57dafeb4a90779a4da6.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13074/93ef7394ebdaefc1e29f60160cb7aa2e05aaeb0d.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA13074/572ce95bb0378e2cd24775ff129059b898552c8a.png)