Input: Head: hat<sep>Tail: wear on her head
Answer: Yes