Rosetta Problems

Assortment of Sweets

https://atcoder.jp/contests/awc0077/tasks/awc0077_b