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: The school cafeteria had 17 apples . If they used 2 to make lunch for the students and then bought 23 more , how many apples would they have ?
A: 
38