Twenty-four dogs are in a kennel. Twelve of the dogs are black. Six of the dogs have short tails. Fifteen of the dogs have long hair. Two are black with short tails and do not have long hair. Two of them have short tails and long hair but are not black. Nine of the dogs have only long hair (do not have short tails and do not have long hair). There is only one dog that is black with a short tail and long hair. All of the dogs in the kennel have at least one of the mentioned characteristics.