In a class, the ratio of students who prefer mathematics to those who prefer science is 3:2. If there are 25 students in total, how many students prefer mathematics?