Codeforces Round #526 (Div. 2) C. The Fair Nut and String

NoSuchKey