Codeforces Round #550 (Div. 3) D. Equalize Them All

NoSuchKey