Input: Head: PersonX goes with PersonY's friends<sep>Tail: included.
Output: 


Answer: Yes