The ratio of cats to dogs at the animal shelter is 3:4. There are 36 cats at the shelter. What is the total number of cats and dogs at the animal shelter?

A. 63
B. 84
C. 27
D. 48