[Codeforces Round #660 (Div. 2)] C. Uncle Bogdan and Country Happiness

NoSuchKey