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