Rosetta Problems

Nim Counting

https://atcoder.jp/contests/abc212/tasks/abc212_h