Input: Head: person<sep>Tail: with of like mind
Answer: Yes