Input: Head: hat<sep>Tail: following custom
Answer: Yes