You will be given a definition of a task first, then some input of the task.
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.

carey and pat are moving chairs to the gym . they agreed to move 74 chairs . carey moved 28 chairs . pat has moved 29 chairs . how many more chairs do they have left to move ?
Output:
17