Educational Codeforces Round 76 (Rated for Div. 2) D题

NoSuchKey