What do you mean? As an immigrant to France when I was in 3rd grade [0], I knew in a couple of months that I had to go to a good high-school, to get into a good prep school, to get into a good grande école. Everybody knows this. And everybody knows how to get there: be good at math, and have good grades in general.
[0] In France, school grades are "reversed". Grades 6 to 3 are "collège" / middle school / junior high. Grades 2, 1, "terminal" are high-school.