Rosetta Problems

Country Town Stations

https://atcoder.jp/contests/awc0178/tasks/awc0178_b