codeforces 650 D. Zip-line

NoSuchKey