UVA426 Fifth Bank of Swamp County

Description

[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=6&page=show_problem&problem=367 [PDF](https://uva.onlinejudge.org/external/4/p426.pdf) ![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA426/1f2f3c7bae41cbcff14af492913a538de0e7ccbc.png)

Input Format

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

Output Format

![](https://cdn.luogu.com.cn/upload/vjudge_pic/UVA426/6ce14e7ad63aa577ce96690618e6b1443a00a416.png)