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.

Ex Input:
The school cafeteria ordered 42 red apples and 7 green apples for students lunches . But , if only 9 students wanted fruit , how many extra did the cafeteria end up with ?

Ex Output:
40


Ex Input:
Mrs. Hilt baked pies last weekend for a holiday dinner . She baked 16 pecan pies and 14 apples pies . If she wants to arrange all of the pies in rows of 5 pies each , how many rows will she have ?

Ex Output:
6


Ex Input:
Melanie had 7 dimes in her bank . Her dad gave her 8 dimes and her mother gave her 4 dimes . How many dimes does Melanie have now ?

Ex Output:

19