UVA11537 Secret Problemsetters' Union

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=27&page=show_problem&problem=2532 [PDF](https://uva.onlinejudge.org/external/115/p11537.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11537/3a8ffe1b12c9753ebeb61bab3e98c67f1aa5c346.png)

Input Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11537/71375f2f94baa59959b00d5ddb0bf81a6c26b246.png)

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA11537/73dae8a13c6fe7181da0302a28dd6eb7745ae686.png)