naveen's submission of Tree Product | CodeChef