[Codeforces Round #657 (Div. 2)] A. Acacius and String

NoSuchKey