Input: Head: store<sep>Tail: buy apple from
Answer: Yes