Isaac's submission of Tree | CodeChef