Students in Mrs. Walsh's math class wanted to know the favorite snacks of students in the school. How could they generate a random sample to survey?