Rosetta Problems

Stepping Stones Path

https://atcoder.jp/contests/awc0124/tasks/awc0124_e