Rosetta Problems

平安京ウォーキング

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/666