Syed Rifat's submission of Medel | CodeChef