Rosetta Problems

Moke's Walking (Hard)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/1239