Rosetta Problems

Nuske vs Phantom Thnook

https://atcoder.jp/contests/agc015/tasks/agc015_c