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.

Example Input: Context: Adam has 10 apples. Jackie has 2 apples.

Question: How many more apples does Adam have than Jackie?
Example Output: 8

Example Input: Context: Baker sold 8 cakes. If he had made 40 cakes initially

Question: How many more cakes did baker make than those he sold?
Example Output: 32

Example Input: Context: A book has 2 chapters. The second chapter is 36 pages long. If there are a total of 67 pages in the book

Question: How many pages are in the first chapter?
Example Output:
31