Codeforces Round #346 (Div. 2) B题

NoSuchKey