Input: Sentence 1: have a good day bye-bye Sentence 2: Have a nice night.
Output: 

 yes