Rosetta Problems

Red and Blue Lamps

https://atcoder.jp/contests/abc218/tasks/abc218_h