The educational system in Hungary is predominantly public, run by the Ministry of Human Resources. Preschool kindergarten education is compulsory and provided for all children between three and six years old, after which school attendance is also compulsory until age of sixteen. Primary education usually lasts for eight years. Secondary education includes three traditional types of schools focused on different academic levels: the Gymnasium enrols the most gifted children and prepares students for university studies; the secondary vocational schools for intermediate students lasts four years and the technical school prepares pupils for vocational education and the world of work. The system is partly flexible and bridges exist, graduates from a vocational school can achieve a two years program to have access to vocational higher education for instance. The Trends in International Mathematics and Science Study (TIMSS) rated 13–14-year-old pupils in Hungary among the best in the world for maths and science. Most Hungarian universities are public institutions, and students traditionally study without fee payment. The general requirement for university is the Matura. The Hungarian public higher education system includes universities and other higher education institutes, that provide both education curricula and related degrees up to doctoral degree and also contribute to research activities. Health insurance for students is free until the end of their studies. English and German language is important in Hungarian higher education, there are a number of degree programs that are taught in these languages, which attracts thousands of exchange students every year. Hungary's higher education and training has been ranked 44 out of 148 countries in the Global competitiveness Report 2014. Today there are 67 higher education institutions in Hungary, ranging from small colleges to top research universities. These universities and colleges are maintained either by the state, private organizations or a church.