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