Input: Head: basket<sep>Tail: carry groceries
Answer: Yes