Codeforces Round #637 - Thanks, Ivan Belonogov! Solution

NoSuchKey