Input: Head: PersonX accepts PersonY invitation<sep>Tail: make a note
Output: Yes