At the start:



Found the last word (ago) in input, then copied it to output:




Found the word "years" in the input, then copied it to the output: