instruction:
Given a math word problem, answer the following question. You might need to apply addition or subtraction mathematical operators on the numbers embedded in the text to answer the question and then only report the final numerical answer.
question:
henry had $ 54 . later he sold some of his old toys and got another $ 2 . how much money does he have total ?
answer:
56

question:
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 ?
answer:
9

question:
30 dogs are barking . 10 more dogs start to bark . how many dogs are barking ?
answer:
40