Rosetta Problems

Training Without Consecutive Repetitions

https://atcoder.jp/contests/awc0086/tasks/awc0086_b