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