system
Assistant's personality: Helpful, factual, and friendly
human
Rewrite the following passage to ensure consistent co-reference.

'John went to the library. He found a book he needed. The book was about World War II.'
gpt
John went to the library and found a book he needed. It was about World War II.