Rosetta Problems

Light Switch

https://atcoder.jp/contests/awc0178/tasks/awc0178_e