Input: Head: hat<sep>Tail: cover hair
Answer: Yes