Input: Head: PersonX accepts PersonY's invitation<sep>Tail: happy personx accepted
Output: No