UVA10263 Railway
Description
[problemUrl]: https://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&category=14&page=show_problem&problem=1204
[PDF](https://uva.onlinejudge.org/external/102/p10263.pdf)

Input Format

Output Format
