Input: Head: PersonX accepts PersonY invitation<sep>Tail: to go out with PersonY.
Output: No