Rosetta Problems

Switching the Lights

https://atcoder.jp/contests/awc0070/tasks/awc0070_d