Rosetta Problems

Product Selection

https://atcoder.jp/contests/awc0142/tasks/awc0142_b