Input: Head: PersonX accepts PersonY invitation<sep>Tail: happy invitation was accepted
Output: No