Rosetta Problems

The Two Men of the Japanese Alps

https://onlinejudge.u-aizu.ac.jp/problems/1309