Codeforces Round #495 (Div. 2)E. Sonya and Ice Cream

NoSuchKey