The average mark of the students of a class in a particular exam is 90. If 3 students whose average mark in that exam is 40 are excluded, the average mark of the remaining will be 95. Find the number of students who wrote the exam?
Choose the correct choice from the following answers.
A) 25  B) 35  C) 23  D) 22  E) 33

Rationale: "let the number of students who wrote the exam be x . total marks of students = 90 x . total marks of ( x - 3 ) students = 80 ( x - 3 ) 90 x - ( 3 * 40 ) = 95 ( x - 3 ) 165 = 5 x = > x = 33 answer : e"
Answer: E