UVA10566 Crossed Ladders
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=17&page=show_problem&problem=1507
[PDF](https://uva.onlinejudge.org/external/105/p10566.pdf)

Input Format

Output Format
