9. There is a bookshelf, the top layer has 30 books, after taking 5 books from the bottom layer to the top layer, at this point the bottom layer has 1 fewer book than the top layer. The bottom layer originally had $\qquad$ books.