A particular brand of shirt comes in 9 colors, has a male version and a female version, and comes in three sizes for each sex. How many different types of this shirt are made?