Rosetta Problems

Acrophobia

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