Rosetta Problems

Treasure Hunt

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