Rosetta Problems

Dominoes

https://atcoder.jp/contests/awc0097/tasks/awc0097_c