You are given a math word problem and you are supposed to only use subtraction on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
--------
Question: Context: Jerry had 5 action figures and 2 books on a shelf in his room. Later he added 9 more books to the shelf.

Question: How many more books than action figures were on his shelf?

Answer: 6

Question: Context: Mary is baking a cake. The recipe calls for 5 cups of flour and 14 cups of sugar. She already put in 10 cups of flour and 2 cups of sugar.

Question: How many more cups of sugar does she need to add?

Answer: 12

Question: Context: At the arcade Dave had won 7 tickets. He used some tickets to buy toys. If he still has 2 tickets left

Question: How many tickets did Dave use to buy toys?

Answer:
5