Mathematical puzzle - Cheese vendor