Codeforces Round #532 (Div. 2)(B. Build a Contest)

NoSuchKey