surya's submission of Tree Product | CodeChef