Rosetta Problems

Skating with Blocks

https://atcoder.jp/contests/ahc046/tasks/ahc046_a