In a survey of favorite pets, 45 students said they preferred cats. This was 30% of the total number of students surveyed. How many students took the survey?​