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.

Example Input: 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 ?
Example Output: 45

Example Input: While playing at the arcade , Luke won 2 tickets playing ' whack a mole ' and 13 tickets playing ' skee ball ' . If he was trying to buy candy that cost 3 tickets a piece , how many could he buy ?
Example Output: 5

Example Input: Debby bought two coloring books . One had 16 pictures and the other had 40 . After one week she had already colored 33 of the pictures . How many pictures does she still have to color ?
Example Output:
23