Input: Head: person<sep>Tail: beautiful hair
Answer: Yes