Input: Head: PersonX accepts PersonY invitation<sep>Tail: included
Output: 


Answer: Yes