Input: Head: basket<sep>Tail: hold
Answer: Yes