UVA10938 Flea circus
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=21&page=show_problem&problem=1879
[PDF](https://uva.onlinejudge.org/external/109/p10938.pdf)

Input Format

Output Format
