codeforces633H Fibonacci-ish II

NoSuchKey