Rajan Jha's submission of Factor Tree | CodeChef