Input: Head: last page<sep>Tail: end book
Answer: Yes