Input: Head: PersonX invites PersonY to join PersonZ<sep>Tail: friendly
Output: 


Answer: Yes