Input: Head: hat<sep>Tail: put on top
Answer: Yes