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


Answer: Yes