Given the following reasoning and answer, what was the question? Jamal started with B books in the cart. He had B - 12 books after the history section. He had B - 12 - 19 = B - 31 books after the fiction section. He had B - 31 - 8 + 4 = B - 35 books after the children’s section. He still had B - 35 = 16 books to shelve. Thus, he started with B = 16 + 35 = 51 books in the cart.
 The answer: 51

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
The question Jamal works at a library shelving books. He has a cart full of books to put away in different sections. In the history section, he shelves 12 books. In the fiction section, he shelves 19 books. In the children’s section, he shelves 8 books but finds 4 that were left in the wrong place that he adds to his cart to shelve elsewhere. He still has 16 books to shelve. How many books did he start with in the cart?