Rosetta Problems

金貨と袋のゲーム

https://atcoder.jp/contests/past202303-open/tasks/past202303_k