Input: Sentence 1: Poirot nodded.  Sentence 2: Poirot shook his head.
Output: 

 yes