Rosetta Problems

XOR Neighbors

https://atcoder.jp/contests/abc366/tasks/abc366_g