Educational Codeforces Round 82 (Rated for Div. 2):C. Perfect Keyboard

NoSuchKey