Rosetta Problems

Treasure Map

https://atcoder.jp/contests/awc0138/tasks/awc0138_a