Carlos is arranging books on shelves. He has 32 novels and 24 autobiographies. Each shelf will have the same numbers of novels and autobiographies. If Carlos must place all of the books on shelves, what are the possible numbers of shelves Carlos will use?​