Rosetta Problems

Crystal Switches

https://atcoder.jp/contests/abc277/tasks/abc277_e