Input: Sentence 1: Quite right. Inglethorp nodded.  Sentence 2: Inglethorp signaled his agreement.
Output: 

 yes