Hannah is organizing her book collection. She has a total of 245 books and wants to divide them equally among 8 shelves. After placing the books on the shelves, how many books will each shelf have, and how many books will be left over? Let's think step by step and output the final answer within \boxed{}.
user