Codeforces Round #485 (Div. 2) B. High School: Become Human

NoSuchKey