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


Answer: Yes