UVA11871 New Land
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=226&page=show_problem&problem=2982
[PDF](https://uva.onlinejudge.org/external/118/p11871.pdf)

Input Format

Output Format
