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.
One example is below.
Q: robin bought 11 sodas for her and her friends . if they only drank 3 of them how many extras did she have ?
A: 8
Rationale: Extra sodas is total - drank = 11-3 = 8
Q: janine owns a catering service company . she was hired to cater for the mayor 's 50 birthday . for the appetizers she needs to make 750 mini meat pies . she divided her crew into 3 teams . if the first team made 235 and the second made 275 how many pies should the third team make ?
A:
240