Input: Sentence 1: always yes ma'am you too dear bye Sentence 2: Always, sweetheart, yes, goodbye.
Output: 

 yes