<human>:  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?
<bot>: How many cats were adopted? ** 15/3=<<15/3=5>>5 cats were adopted out of 15
How many cats were left? ** There were 15-5 = <<15-5=10>>10 cats left
How many more cats were added? ** 5*2=<<5*2=10>>10 more cats were added.
How many cats are there in the shelter? ** This makes 10+10=<<10+10=20>>20 cats in the shelter.
How many dogs came into the shelter? ** 20*2=<<20*2=40>>40 dogs came into the shelter.
How many total animals are there in the shelter? ** There are now 20+40=<<20+40=60>>60 animals in the shelter.
#### 60