Educational Codeforces Round 187 (Rated for Div. 2) D. Divisibility Game Hints: Divisibility Game Code: Divisibility Game