Shivam's submission of Medel | CodeChef