Andrey Kim's submission of Chef and Divisor Tree | CodeChef