Codeforces Round #355 (Div. 2) D. Vanya and Treasure

NoSuchKey