Input: Head: PersonX expresses PersonY thanks<sep>Tail: thankful
Output: 


Answer: Yes