Rosetta Problems

Distinct Adjacent

https://atcoder.jp/contests/abc307/tasks/abc307_e