At Amazon, they package hardcover books and softcover books. The owners of a bookstore order 8 boxes of hardcover books and 6 boxes of softcover books. There are 23 hardcover books in each box and 29 softcover books in each box. At the bookstore, the owners have 9 shelves free. How many books can fit on each shelf if they put the same number of books on each shelf?