Rosetta Problems

Carrying Luggage

https://atcoder.jp/contests/awc0181/tasks/awc0181_c