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.

[Q]: Context: Haley grew 14 trees in her backyard. After a typhoon 9 died.

Question: How many more trees died in the typhoon than those that survived?
[A]: 4

[Q]: Context: Edward spent $ 16 to buy books and $ 8 to buy pens. Now he has $ 19.

Question: How much more did Edward spend on books than pens?
[A]: 8

[Q]: Context: Dave had 59 files and 15 apps on his phone. After deleting some apps and files he had 12 apps and 30 files left.

Question: How many apps did he delete?
[A]:
3