A page has been ripped off from a book. The sum of the numbers of the remaining pages is 65000 {\displaystyle {}65000} . How many pages did the book have?