XY's submission of Painting Tree | CodeChef