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.

[EX Q]: Edward was trying to expand his game collection . He bought 41 games from a friend and bought 14 more at a garage sale . If 31 of the games did n't work , how many good games did he end up with ?
[EX A]: 24

[EX Q]: Mary had 18 baseball cards , and 8 were torn . Fred gave Mary 26 new baseball cards . Mary bought 40 baseball cards . How many baseball cards does Mary have now ?
[EX A]: 84

[EX Q]: Tom and his friend were buying trick decks from the magic shop for 8 dollars each . How much did they spend if Tom bought 3 decks and his friend bought 5 decks ?
[EX A]:
64