Input: Head: hat<sep>Tail: place atop the head
Answer: Yes