French test

What was the average score in this French test?

Problem



The first four students to take a French test get an average of 4 marks.

The next six students to take the same test get an average of 6 marks.

What is the average for all 10 students?

This problem is taken from the World Mathematics Championships