system, students either attend a two-year middle school followed by a two-year pre-apprenticeship or they attend a four-year program to prepare for higher education. There were 512 students in the two-year middle school and 10 in their pre-apprenticeship, while 203 students were in the four-year advanced program. The upper secondary school includes several options, but at the end of the upper secondary program, a student will be prepared to enter a trade or to continue on to a university or college. In Ticino, vocational students may either attend school while working on their internship or apprenticeship (which takes three or four years) or may attend school followed by an internship or apprenticeship (which takes one year as a full-time student or one and a half to two years as a part-time student). There were 146 vocational students who were attending school full-time and 293 who attend part-time. The professional program lasts three years and prepares a student for a job in engineering, nursing, computer science, business, tourism and similar fields. There were 41 students in the professional program. , there were 1,484 students in Locarno who came from another municipality, while 405 residents attended schools outside the municipality. Locarno is home to the Biblioteca Cantonale Locarno library. The library has () 122,115 books or other media, and loaned out 97,667 items in the same year. It was open a total of 264 days with an average of 44 hours per week during that year. Transport Air Locarno is served by Locarno Airport, a mixed civilian and military airport. Rail Locarno railway station, situated in Muralto, is served by the Swiss Federal Railways' Giubiasco–Locarno railway, a branch from the Gotthard railway. Underground, there is a terminal for the Domodossola–Locarno railway, a metre gauge link to Italy operated in Switzerland by the Regional Bus and Rail Company of Ticino. Crime In 2014 the crime rate, of the over 200 crimes listed in the Swiss Criminal Code (running from murder, robbery and assault to accepting bribes and election fraud), in Locarno was 77.9 per thousand residents, which was 20.6% higher than the national average (64.6). During the same period, the rate of drug crimes was 27.2 per thousand residents. This rate is 138.6% greater than the rate in the district, 209.1% greater than the cantonal rate and 174.7% greater than the national rate. The rate of violations of immigration, visa and work permit