Input: Head: PersonX accepts PersonY invitation<sep>Tail: forward looking
Output: Yes