A customer buys four products priced at $18, $22, $35 and $40 from the same store. The customer returns the most expensive product and gets a refund for that one product. How much money did the customer end up spending at that store?