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