mdz's submission of Medel | CodeChef