In France there are lots of schools in the cities, it's an obligation till you turn the age sixteen and everybody has to be placed somewhere. In countryside there are like one school for a bunch of villages that are near and only one level so it's sometimes all ages together with one teacher.