Below is an instruction that describes a task. Write a response that appropriately completes the request in Swahili. Please answer in Swahili.

### Instruction:
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?

### Response:
 Jamal alianza na vitabu B katika gari.
Aliacha vitabu B - 12 baada ya kuweka katika sehemu ya historia.
Aliacha vitabu B - 12 - 19 = B - 31 baada ya kuweka katika sehemu ya hadithi.
Aliacha vitabu B - 31 - 8 + 4 = B - 35 baada ya kuweka katika sehemu ya watoto.
Bado alikuwa na vitabu B - 35 = 16 vya kuweka.
Hivyo, alianza na vitabu B = 16 + 35 = <<16+35=51>>51 katika gari.