Definition: 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.
Input: before his friends gave him more stamps simon initially had 34 stamps . if he now has 61 stamps how many stamps did he receive from his friends ?
Output:
27