Teacher: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.
Teacher: Now, understand the problem? Solve this instance: Context: Paul got a box of some crayons for his birthday. During the school year he gave 52 crayons to his friends while he lost 535 crayons. If he only had 492 crayons left 

 Question: How many crayons had been lost or given away?
Student:
587