Codeforces Round #524 (Div. 2) Margarite and the best present CodeForces - 1080B

NoSuchKey