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.
--------
Question: John had 5 dollars . At the store he spent $ 2 on a new game . If he got another 26 dollars for his allowance , how much money does he have now ?

Answer: 29


Question: Roger is at the library helping put away books . There are 14 book to put away total but a librarian takes 2 of them and leaves Roger with the rest . If he can fit 3 books on a shelf , how many shelves will he need ?

Answer: 4


Question: Ned was trying to expand his game collection . He bought 50 games from a friend and bought 27 more at a garage sale . If 74 of the games did n't work , how many good games did he end up with ?

Answer:
3