A group of students is surveyed about their favorite breakfast food. The results are as follows: 40% prefer cereal, 30% prefer pancakes, 20% prefer eggs, and 10% prefer fruit. Based on this information, what is the probability that a randomly selected student prefers either pancakes or fruit?