Codeforces Round #554 (Div. 2) 1152C. Neko does Maths

NoSuchKey