You will be given a definition of a task first, then some input of the task.
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.

Context: Robin cut off 20 inches of his hair. If his hair is now 10 inches long 

 Question: How long was his hair before he cut?
Output:
30