The average marks of the students of a class in a particular exam is 80. If 5 students whose average marks in that exam is 40 are excluded, the average marks of the remaining students will be 90. Find the number of students who wrote the exam.
1
25
2
20
3
15
4
35