Rosetta Problems

Fluffy Cloud Hopping

https://atcoder.jp/contests/awc0077/tasks/awc0077_d