Input: Sentence 1: No, said Jon. Sentence 2: Jon said yes.
Output: 

 yes