Input: Sentence 1: Slim said, "I didn't. Sentence 2: Slim said that he did.
Output: 

 yes