In a small bookstore, there are 5 shelves, each containing an equal number of books. If the owner decides to add 12 more books to each shelf, the total number of books in the store will become 170. How many books were originally on each shelf? Let's think step by step and output the final answer within \boxed{}.
user