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.

Q: A home purchased for 300000 dollars depreciated 8 % over a 1-year period . What was the value of the home after at the end of the year , in dollars ?

A: 276000
****
Q: Tom purchased a football game for $ 14.02 , a strategy game for $ 9.46 , and a Batman game for $ 12.04 . How much did Tom spend on video games ?

A: 35.52
****
Q: For the school bake sale Katie made pastries . She baked 7 cupcakes and 5 cookies . After the sale she had 8 to take back home . How many pastries did she sell ?

A:
4
****