Rosetta Problems

Stone Moving Game

https://atcoder.jp/contests/awc0137/tasks/awc0137_e