Rosetta Problems

Planting Flower Seeds

https://atcoder.jp/contests/awc0009/tasks/awc0009_d