Vitaliy's submission of Tree Product | CodeChef