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

### 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 cats were adopted out of 15
There were 15-5=<<15-5=10>>10 cats left
5*2=<<5*2=10>>10 more cats were added
This makes 10+10=20 cats in the shelter
20*2=<<20*2=40>>40 dogs came into the shelter
This makes 40+20=<<40+20=60>>60 total animals in the shelter
#### 60