Input: Head: latch<sep>Tail: catch the fence
Answer: Yes