Input: Head: PersonX finds PersonY's friends<sep>Tail: to reconnect
Output: Yes