In a class A of 25 students, 20 passed in first class; in another class B of 30 students, 24 passed in first class. In which class was a greater fraction of students getting first class?