Manan Gupta's submission of Factor Tree | CodeChef