Discounts problem