Prashant Mahesh's submission of Breaking the Tree | CodeChef