Input: Head: PersonX accepts PersonY invitation<sep>Tail: goes to party
Answer: Yes