Input: Head: hat<sep>Tail: shooing flies
Answer: Yes