Codeforces Round #619 (Div. 2) Ayoub's function

NoSuchKey