Codeforces 1194D. 1-2-K Game

NoSuchKey