Robert gave out a survey to some students in his school about their favorite color. 970 of those surveyed said their favorite color was purple. If 97% of the students surveyed said their favorite color was purple, how many students were surveyed in total?