Rosetta Problems

Straight Path

https://atcoder.jp/contests/arc189/tasks/arc189_e