Codeforces Round #124 (Div. 2) 197D

NoSuchKey