Codeforces Round #552 (Div. 3)C. Gourmet Cat

NoSuchKey