Students who have cats, dogs, or no pets.
Students with dogs Students with cats Students with no pets
16 12 7
Total students with pets: 28