Input: Head: PersonX accepts the invitation<sep>Tail: to attend the function as a chief guest
Output: No