Instructions: 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: mrs. randall has taught third grade for 18 years . she has 26 students this year . she also taught second grade for 8 years . how many years has mrs. randall been teaching ?
Output:
26