Ted bought a fishing pole for $35.99, and a pair of shorts for 14.99. He had a coupon for 25% off the shorts only. What was the total cost of Ted’s items before tax?