there are 50 questions on a quiz given to a class of a students…

there are 50 questions on a quiz given to a class of a students. Only 20% of the class answered all the questions on the quiz. Of the remaining students, half answered two-fifths of the questions and the other half answered three-fifths. What was the average number of questions answered on this quiz?