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

[EX Q]: There are 43 pencils in the drawer and 19 pencils on the desk . Dan placed 16 more pencils on the desk . How many pencils are now there in total ?
[EX A]: 78

[EX Q]: For the school bake sale Wendy made pastries . She baked 4 cupcakes and 29 cookies . After the sale she had 24 to take back home . How many pastries did she sell ?
[EX A]:
9