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.

Example Input: A spaceship traveled 0.5 light - year from Earth to Planet X and 0.1 light - year from Planet X to Planet Y . Then it traveled 0.1 light - year from Planet Y back to Earth . How many light - years did the spaceship travel in all ?
Example Output: 0.7

Example Input: There school 's baseball team had 2 new players and 6 returning players . If the coach put them into groups with 4 players in each group , how many groups would there be ?
Example Output: 2

Example Input: Tanner saved $ 17 in September . He saved $ 48 in October and $ 25 in November . Then Tanner spent $ 49 on a video game . How much money does Tanner have left ?
Example Output:
41