Rosetta Problems

Number of Moves

https://atcoder.jp/contests/aalc001/tasks/aalc001_q