Manan Gupta's submission of Medel | CodeChef