Input: Head: PersonX accepts PersonY invitation<sep>Tail: buys a present
Answer: Yes