Input: Head: hat<sep>Tail: protecting head
Answer: Yes