In a test,the average class score was 77 marks.Mr Wong discovered that he had recorded 14 students’ marks wrongly.After adding 3 marks to each of these students,the average class score became 79.How many students were there in the class?

How to tackle this question?