Rosetta Problems

Dominoes

https://atcoder.jp/contests/awc0132/tasks/awc0132_c