In a school, the ratio of students of class 9 to that of class 10 is 3:2. 30% of the students of class 9 and 10%of the students of class 10 were elected to the school student committee. What fraction of the total number of students of the two classes was selected to the school student committee?