Rosetta Problems

Container Handling with Cranes

https://atcoder.jp/contests/ahc033/tasks/ahc033_a