In a classroom, 3/8 of the students are wearing blue shirts, and 1/4 are wearing white shirts. There are 24 students in the classroom. How many students are wearing shirts other than blue shirts or white shirts?