codeforces 1084 C. The Fair Nut and String

NoSuchKey