Input: Head: person<sep>Tail: good hair day
Answer: Yes