Shivam tanay's submission of Break the tree | CodeChef