Codeforces Round #524-C-Masha and two friends

NoSuchKey