(c) Some of the students were asked how much time they spent revising for the test. 10 students revised for 2.5 hours, 12 students revised for 3 hours and students revised for 4 hours. The mean time that these students spent revising was 3.1 hours. Find n. Show all your working.