Codeforces Round #362 (Div. 2) Problem D——Puzzles

NoSuchKey