There are 25 students in a class and the number of students who scored 5, 7 and 3 marks in a test are 8, 10 and 7 respectively. The teacher can decide how many students should go to the remedial class, but can't pick the students for it. Once the number is decided, the students are selected at random. The teacher wants every student in the class to have atleast three others who scored the same marks in the examination. What is the minimum number of students who should be sent to the remedial class for this to happen?