Instructions: You are given a math word problem and you are supposed to apply an addition mathematical operator on the numbers embedded in the text to answer the following question and then only report the final numerical answer.
Input: Context: In a school there are 700 girls and the rest are boys. If there are 142 more boys than girls 

 Question: How many pupils are there in that school?
Output:
1542