Definition: 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.

Positive Example 1 -
Input: Last year , 90171 people were born in a country , and 16320 people immigrated to it . How many new people began living in the country last year ?
Output: 106491

Positive Example 2 -
Input: There are 27 pencils in the drawer . Nancy placed 45 pencils in the drawer . How many pencils are now there in total ?
Output: 72

Negative Example 1 -
Input: Alyssa picked 42 pears and Nancy picked 17 pears from the pear tree . How many pears were picked in all ?
Output: 42

Negative Example 2 -
Input: The town of Milburg has 5256 grown - ups and 2987 children . How many people live in Milburg ?
Output: 2987

Now complete the following example -
Input: Fred loves trading cards . He bought 2 packs of football cards for $ 2.73 each , a pack of Pokemon cards for $ 4.01 , and a deck of baseball cards for $ 8.95 . How much did Fred spend on cards ?
Output: 


Output: 18.42