Élie Cartan entered an elementary school in Dolomieu and was the best student in the school. One of his teachers, M. Dupuis, recalled "Élie Cartan was a shy student, but an unusual light of great intellect was shining in his eyes, and this was combined with an excellent memory". Antonin Dubost, then the representative of Isère, visited the school and was impressed by Cartan's unusual abilities. He recommended Cartan to participate in a contest for a scholarship in a lycée. Cartan prepared for the contest under the supervision of M. Dupuis and passed at the age of ten years. He spent five years (1880–1885) at the College of Vienne and then two years (1885–1887) at the Lycée of Grenoble. In 1887 he moved to the Lycée Janson de Sailly in Paris to study sciences for two years; there he met and befriended his classmate Jean-Baptiste Perrin (1870–1942) who later became a famous physicist in France.