Codeforces Beta Round #34 (Div. 2) Problem B

NoSuchKey