Input: Sentence 1: and it was eight years before i had to do it again Sentence 2: I had to do it again after eight years.
Output: 

 yes