Rosetta Problems

三色灯 (Tricolor Lights)

https://atcoder.jp/contests/joigsp2024/tasks/joigsp2024_d