Input: Head: PersonX accepts PersonY offer<sep>Tail: grateful
Output: 


Answer: Yes