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