Input: Head: glue<sep>Tail: close jars
Answer: Yes