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

### Instruction:
Rick likes to separate his collection of books into various groups by genre.  He has 400 books in total and proceeds to divide them into two separate equally-sized categories repeatedly until he has each book in a category with 24 other books.  How many times must he break these groups into smaller groups to accomplish this?

### Response:
 Rick anaanza na vitabu 400 na anagawanya katika makundi mawili ya ukubwa sawa, maana yake kuna makundi mawili ya vitabu 400/2= <<400/2=200>>200 kila kimoja.
Rick anarudia mchakato huu tena, akigawanya makundi ya vitabu 200 katika nusu sawa, akimwacha na vitabu 200/2=<<200/2=100>>100 kila kimoja.
Kwa kuwa Rick anatafuta makundi yenye vitabu 25 kila kimoja, anafanikisha hili kwa hatua ya 4, kwa sababu 200/4= <<200/4=50>>50 vitabu kila kundi.