Teacher: 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.
Teacher: Now, understand the problem? If you are still confused, see the following example:
robin bought 11 sodas for her and her friends . if they only drank 3 of them how many extras did she have ?
Solution: 8
Reason: Extra sodas is total - drank = 11-3 = 8

Now, solve this instance: ted and fred measured their height . fred 's height is 98 inches . ted is 39 inches tall . what 's the difference between ted 's height and fred 's height ?
Student:
59