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

### Instruction:
There are 15 cats in a shelter. One-third were adopted, and were replaced with twice the amount that were adopted. Later on, twice as many dogs showed up as there are cats. How many total animals are there in the shelter?

### Response:
 15/3=<<15/3=5>>5 paka walikubaliwa kati ya 15
Kulikuwa na paka 15-5 = <<15-5=10>>10 zilizosalia.
Makazi haya yanapenda mambo ya 3, hivyo walikubaliwa paka 5 na kuziba pengo hilo na paka 5*2=<<5*2=10>>10 zaidi.
Sasa kuna paka 10+10= <<10+10=20>>20 katika makazi hayo.
Mbwa 20*2 = <<20*2=40>>40 waliwasili katika makazi hayo.
Sasa kuna 40+20 = <<40+20=60>>60 wanyama katika makazi hayo.