Rosetta Problems

Luggage Collection

https://atcoder.jp/contests/awc0178/tasks/awc0178_c