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