In the city of San Durango, 60 people own cats, dogs, or rabbits. If 30 people owned cats, 40 owned dogs, 10 owned rabbits, and 12 owned exactly two of the three types of pet, how many people owned all three