In a class, 30% of the students are male and 70% female. Among male students, 40% wears eye glasses; among female students, 30% wear eye glasses. If we select a student from the class at random, what is the probability that the student wears eye glasses?