Educational Codeforces Round 39 F,G

NoSuchKey