In a school survey, students were asked about their favorite ice cream flavors. The results are shown in the pie chart below:
From the chart, 30% of the students preferred chocolate, 25% preferred vanilla, 20% preferred strawberry, and 25% preferred mint.
Based on the data, if there are 40 students in total, how many students prefer chocolate ice cream?