Input: Head: basket<sep>Tail: put the shopping in
Answer: Yes