A librarian was packing some books.

She discarded 22 books with torn pages.

She then packed the rest equally into 9 shelves.

There were 11 books on each shelf.