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

NoSuchKey