Rosetta Problems

Removing Coins

https://atcoder.jp/contests/agc033/tasks/agc033_c