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