Instructions: 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.
Input: the last place that he went to was the city animal shelter . there he donated some money to make sure the dogs and cats there are being taken care of . if there are 645 cats and 567 dogs there how many animals are there in the shelter ?
Output:
1212