Input: Head: PersonX accepts PersonY's invitation<sep>Tail: bring gift
Output: Yes