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: A pet shelter had 8 puppies when another 19 were brought in . If 3 puppies a day are adopted , how long would it take for all of them to be adopted ?
Example Output: 9

Example Input: For the school bake sale Paige made pastries . She baked 36 cupcakes and 9 cookies . After the sale she had 4 to take back home . How many pastries did she sell ?
Example Output: 41

Example Input: At a restaurant each adult meal costs $ 3 and kids eat free . If a group of 12 people came in and 7 were kids , how much would it cost for the group to eat ?
Example Output:
15