Codeforces Round #555 (Div. 3) A - Reachable Numbers

NoSuchKey