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

### Instruction:
If the number of dogs in the neighborhood was originally half the number of cats in the neighborhood before twenty new dogs were born, and now there are twice as many dogs as cats, how many cats were in the neighborhood, to begin with, if there are 20 cats now?

### Response:
 Kwa kuwa idadi ya mbwa sasa ni mara mbili ya idadi ya paka, na kuna paka 20 sasa, kuna mbwa 2*20=<<2*20=40>>40.
Ikiwa idadi ya mbwa katika mtaa ilikuwa awali nusu ya idadi ya paka katika mtaa, kulikuwa na paka 1/2*40=<<40*1/2=20>>20 katika mtaa.
Ikiwa idadi ya paka katika mtaa ilikuwa 20, na wapya ishirini wamezaliwa, idadi jumla ya paka katika mtaa ni 20+20=<<20+20=40>>40.