Emily gave out a survey to some students in her school about their favorite color. 880 of those surveyed said their favorite color is green. If 80% of the students surveyed said their favorite color is green, how many were surveyed?