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