Codeforces Round #544 (Div. 3) C. Balanced Team

NoSuchKey