Input: Head: PersonX accepts PersonY's invitation<sep>Tail: show up in the event
Output: Yes