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.

Ex Input:
evan has a large collection of books . he gave his best friend 14 books . he gave his little brother 8 books . now evan has 60 books in his collection . how many books did he have at first ?

Ex Output:
82

Ex Input:
chloe was making baggies of cookies with 7 cookies in each bag . if she had 34 chocolate chip cookies and 29 oatmeal cookies how many baggies could she make ?

Ex Output:
9

Ex Input:
tony had $ 20 . he paid $ 8 for a ticket to a baseball game . at the game he bought a hot dog for $ 3 . what amount of money did tony have then ?

Ex Output:
9