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?
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=<<10+10=20>>20 cats in the shelter.
20*2=<<20*2=40>>40 dogs came into the shelter.
There are now 20+40=<<20+40=60>>60 animals in the shelter.
#### 60
Solve the following math word problem.

### 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=<<10+10=20>>20 cats in the shelter.
20*2=<<20*2=40>>40 dogs came into the shelter.
There are now 20+40=<<20+40=60>>60 animals in the shelter.
#### 60
Solve the following math word problem.

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