Rosetta Problems

Stamp Rally

https://atcoder.jp/contests/awc0149/tasks/awc0149_a