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.

[EX Q]: Misha has 34 dollars . How many dollars does she have to earn to have 47 dollars to buy a dog ?
[EX A]: 13

[EX Q]: Gwen was organizing her book case making sure each of the shelves had exactly 4 books on it . If she had 5 shelves of mystery books and 3 shelves of picture books , how many books did she have total ?
[EX A]: 32

[EX Q]: Nancy went to 9 football games this month . She went to 8 games last month , and plans to go to 7 games next month . She paid 3 dollars for the tickets . How many games will she attend in all ?
[EX A]:
24