In a survey, 30% of the randomly selected high school students will be taking an AP course next year. If the margin of error is 0.036, then how many people were surveyed?