saegusa's submission of Breaking the Tree | CodeChef