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.

with the end of the month coming in 2 days they decided to sell cookies to the neighboring villages as well . if they sold 23 packs on 1 village and 28 on the other how many cookies were they able to sell in the other villages ?
Output:
51