Rosetta Problems

旅人

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