In Ljubljana there are ten public and three private grammar schools. The public schools divide into general gymnasiums and classical gymnasiums, the latter offering Latin and Greek as foreign languages. Some general schools offer internationally oriented European departments, and some offer sport departments, allowing students to more easily adjust their sport and school obligations. All state schools are free, but the number of students they can accept is limited. The private secondary schools include a Catholic grammar school and a Waldorf grammar school. There are also professional grammar schools in Ljubljana, offering economical, technical, or artistic subjects (visual arts, music). All grammar schools last four years and conclude with the ''matura'' exam.