The ratio of dogs to cats at an animal shelter is 3:2. How many dogs are at the shelter if there is a total of 30 animals?
A)5
B)18
C)12
D)30
