Input: Sentence 1: yes it did yes it did just as Rain Man uh with Dustin Hoffman Sentence 2: I have never heard of Rain Man.
Output: 

 yes