Rosetta Problems

Shipping Sticks

https://atcoder.jp/contests/past202012-open/tasks/past202012_m