Andrey's submission of Game of Divisors | CodeChef