There are 9 black shirts, 8 gray shirts, 10 black sweaters, and 10 gray sweaters. If you take one of these pieces of clothing out of the dryer at random to check if the clothes are completely dry, what is the probability that the piece of clothing taken out is black or is a sweater?