Rosetta Problems

One Step at a Time

https://atcoder.jp/contests/past202104-open/tasks/past202104_g