Rosetta Problems

Arbitrary Nim

https://atcoder.jp/contests/arc168/tasks/arc168_b