Input: Head: PersonX goes with PersonY's friends<sep>Tail: have company
Answer: Yes