Input: Head: person<sep>Tail: with
Answer: Yes