in a class , 20 % of the students were absent for an exam . 30 % failed by 20 marks and 10 % just passed . find the average score of the class if the remaining students scored an average of 65 marks and the cut off for passing the exam is 40 .