An animal shelter received a total of 40 new animals, consisting of cats and dogs. The shelter spent $35 on initial care for each cat and $50 for each dog. If the total amount spent on initial care for these 40 animals was $1,625, how many dogs did the shelter receive?
15
20
25
30