mdz's submission of Discount in a Shop | CodeChef