Rosetta Problems

Fruit Selection

https://atcoder.jp/contests/awc0125/tasks/awc0125_d