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:
Adam had 33 books . If he sold 11 of them and used the money he earned to buy 23 new books , how many books would Adam have ?

Ex Output:
45

Ex Input:
Joan has saved 6 quarters from washing cars . How many cents does Joan have ?

Ex Output:
150

Ex Input:
The cafeteria had 96 apples . For lunch they handed out 42 to students and decided to use the rest to make pies . If each pie takes 6 apples , how many pies could they make ?

Ex Output:
9