Input: Head: PersonX makes friends<sep>Tail: connected
Output: 


Answer: Yes