Rajan Jha's submission of Medel | CodeChef