You are given a math word problem and you are supposed to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the following question and then only report the final numerical answer.

Ex Input:
John walks 0.7 miles to school and Nina walks 0.4 miles to school . How much farther does John walk than Nina ?

Ex Output:
0.3


Ex Input:
Mary had 18 baseball cards , and 8 were torn . Fred gave Mary 26 new baseball cards . Mary bought 40 baseball cards . How many baseball cards does Mary have now ?

Ex Output:
84


Ex Input:
Mary is baking a cake . The recipe calls for 7 cups of flour and 3 cups of sugar . She already put in 2 cups of flour . How many cups of flour does she need to add ?

Ex Output:

5