Input: Sentence 1: yeah i hope so Sentence 2: No, I don't hope so
Output: 

 yes