At first, the manuals in a library were placed on 21 shelves with an equal number of manuals on each shelf. 6 shelves were removed and the books on these shelves were placed on the remaining shelves. Because of this, the number of manuals on each remaining shelf increased by 8. What was the number of manuals on each shelf at first?