the average mark of the students of a class in a particular exam is 80 . if 8 students whose average mark in that exam is 20 are excluded , the average mark of the remaining will be 90 . find the number of students who wrote the exam .