Rosetta Problems

Bowling

https://atcoder.jp/contests/agc051/tasks/agc051_b