Detailed Instructions: You are given a math word problem and you are supposed to apply multiple mathematical operators like addition, subtraction, multiplication or division on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Q: a chef only had 3 apples so he ordered 2 more bags . if each bag has 9 apples how many apples does he have total ?
A:
21