Input: Head: store<sep>Tail: shop in
Answer: Yes