In a community of 50 families, 15 families own 2 dogs, 20 families own 1 dog, while the remaining families own 2 cats each. How many dogs and cats are there in all? Let's think step by step and output the final answer after "####".
user
The 15 families own 15x2=<<15*2=30>>30 dogs.
The 20 families own 20x1=<<20*1=20>>20 dogs.
There are 50-15-20=<<50-15-20=15>>15 cat owners.
The remaining families own 15x2=<<15*2=30>>30 cats.
There are 30+20+30=<<30+20+30=80>>80 dogs and cats in the village.
#### 80
In a community of 50 families, 15 families own 2 dogs, 20 families own 1 dog, while the remaining families own 2 cats each. How many dogs and cats are there in all?
train