In a class with 50 students, 25 of the students aresophomores, 15 of the students are mathematicsmajors, and 10 of the mathematics majors aresophomores. If a student in the class is to beselected at random, what is the probability thatthe student selected will be a sophomore or amathematics major or both?