You are given a math word problem and you are supposed to apply multiple mathematical operators like addition, subtraction, multiplication or division on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

A magician was selling magic card decks for 9 dollars each . If he started with 12 decks and by the end of the day he had 7 left , how much money did he earn ?
45

A teacher had 7 worksheets to grade . If she graded 2 , but then another 46 were turned in , how many worksheets would she have to grade ?
51

Henry had 3 action figures , but needed 8 total for a complete collection . If each one costs $ 6 , how much money would he need to finish his collection ?

30