Rosetta Problems

Distribution of Sweets

https://atcoder.jp/contests/awc0030/tasks/awc0030_a