Detailed 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.
Q: a pet store had 2 white cats 10 black cats and 3 gray cats . how many cats did they have total ?
A:
15