Codeforces Round #489 (Div. 2) B、C

NoSuchKey