There are 50 dogs and 30 cats at the local shelter. Of these animals, 12 dogs have spots and 8 cats have spots. What percentage of the animals at the shelter have spots? A. 38% B. 22% C. 80% D. 25%