Input: Sentence 1: Yes, Tommy chimed in. Sentence 2: Tommy gave an exhausted sounding "No."
Output: 

 yes