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.

Example Input: For the school bake sale Katie made pastries . She baked 7 cupcakes and 5 cookies . After the sale she had 8 to take back home . How many pastries did she sell ?
Example Output: 4

Example Input: Nancy had 80 files on her computer . She deleted 31 of them and put the rest into folders with 7 files in each one . How many folders did Nancy end up with ?
Example Output: 7

Example Input: Sally had 8 pennies and 7 nickels in her bank . Her dad gave her 9 nickels and her mother gave her 2 nickels . How many nickels does Sally have now ?
Example Output:
18