Rosetta Problems

Stone Taking Game

https://atcoder.jp/contests/awc0053/tasks/awc0053_a