Educational Codeforces Round 81 B.

NoSuchKey