Input: Head: hat<sep>Tail: shade
Answer: Yes