Rosetta Problems

Rabbit Jumping

https://onlinejudge.u-aizu.ac.jp/problems/2384