A knitted hat pattern comes in five styles with 3 stitch options and 4 sizes, and there are 5 yarns appropriate for the hat. Disregarding the size, how many different hats can be made?