Input: Head: PersonX receives PersonY invitation<sep>Tail: wary
Output: 


Answer: Yes