Rosetta Problems

三連続 (Three Consecutive)

https://atcoder.jp/contests/joig2024-open/tasks/joig2024_a