Input: Head: hat<sep>Tail: keeping hair from showing
Answer: Yes