You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
--------
Question: Fred has 40 baseball cards . Keith bought 22 of Fred 's baseball cards . How many baseball cards does Fred have now ?

Answer: 18


Question: Fred found 47 seashells on the beach , he gave Jessica 25 of the seashells . How many seashells does he now have ?

Answer: 22


Question: Joan spent $ 15 on shorts and $ 14.82 on a jacket , and $ 12.51 on a shirt . She went to 3 shops . In total , how much money did Joan spend on clothing ?

Answer:
42.33