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: Adam had 48 books . If he sold 19 of them and used the money he earned to buy 38 new books , how many books would Adam have ?
Example Output: 67

Example Input: Gwen was organizing her book case making sure each of the shelves had exactly 4 books on it . If she had 5 shelves of mystery books and 3 shelves of picture books , how many books did she have total ?
Example Output: 32

Example Input: Bianca was planting vegetables in her garden . She started with 52 seeds and planted 40 of them in the big garden and in each of her small gardens put 2 seeds each . How many small gardens did Bianca have ?
Example Output:
6