In a French class, there are 10 freshmen, 8 sophomores, and 2 juniors. Of these students, 9 freshmen, 2 sophomores, and 1 junior are female. A student is selected at random. P(freshman or sophomore)