Input: Head: PersonX accepts PersonY invitation<sep>Tail: know PersonY
Answer: Yes