Input: Head: PersonX invites PersonY to join<sep>Tail: to know PersonY more
Output: Yes