Input: Head: person<sep>Tail: out friend
Answer: Yes