codeforces 1043 D. Mysterious Crime

NoSuchKey