Educational Codeforces Round 79 (Rated for Div. 2) - D. Santa's Bot(数论)

NoSuchKey