The results of a survey show that for every nine people who prefer hot dogs, seven people prefer hamburgers. If a total of 630 people were surveyed, how many people preferred hamburgers?