Rosetta Problems

Grid and Tokens

https://atcoder.jp/contests/abc205/tasks/abc205_f