A pet store has 9 dogs, 6 cats, 8 gerbils, and 7 parrots. A pet is chosen at random. What is the probability of choosing a cat or dog?