Codeforces 1333C Eugene and an array

NoSuchKey