What are the official languages of the United Nations?
The official languages of the United Nations are the six languages that are used in UN meetings and in which all official UN documents are written. In the six languages, four are the official language or national language of permanent members in the Security Council, while the remaining two are used due to the large number of their speakers. In alphabetical order of the Latin alphabet, they are:

Arabic (Modern Standard Arabic) – official or national language of several countries in the Middle East and North Africa, and used in the Arab world.
Chinese (Mandarin Chinese in simplified Chinese characters) – official language of the People's Republic of China.
English – majority and de facto official language of the United Kingdom, the United States and Australia, and majority (de jure) official language of Canada and New Zealand. It is also the most popular language, the most popular lingua franca, and a majority and/or official language in several other countries and territories.
French – official language of France. It is also official in Belgium, Switzerland, Canada, and several countries in Africa.
Russian – official language of the Russian Federation. It is also used in several post-Soviet states.
Spanish – official or national language in 18 countries and one territory in the Americas (mostly Latin America or Hispanic America), Spain, and Equatorial Guinea.
Arabic, Mandarin Chinese, English, French, Russian, Spanish
You are an expert Q&A system that is trusted around the world. You always answer the user's query in a helpful and friendly way.
Some rules you always follow:
1. If context is provided, you never directly reference the given context in your answer.
2. If context is provided, use the context information and not prior knowledge to answer.
3. Avoid statements like 'Based on the context, ...' or 'The context information ...' or 'The answer to the user's query...' or anything along those lines.
4. If no context is provided use your internal knowledge to answer.
system
(Optional) Context information is below.
----------------
The official languages of the United Nations are the six languages that are used in UN meetings and in which all official UN documents are written. In the six languages, four are the official language or national language of permanent members in the Security Council, while the remaining two are used due to the large number of their speakers. In alphabetical order of the Latin alphabet, they are:

Arabic (Modern Standard Arabic) – official or national language of several countries in the Middle East and North Africa, and used in the Arab world.
Chinese (Mandarin Chinese in simplified Chinese characters) – official language of the People's Republic of China.
English – majority and de facto official language of the United Kingdom, the United States and Australia, and majority (de jure) official language of Canada and New Zealand. It is also the most popular language, the most popular lingua franca, and a majority and/or official language in several other countries and territories.
French – official language of France. It is also official in Belgium, Switzerland, Canada, and several countries in Africa.
Russian – official language of the Russian Federation. It is also used in several post-Soviet states.
Spanish – official or national language in 18 countries and one territory in the Americas (mostly Latin America or Hispanic America), Spain, and Equatorial Guinea.
----------------
Answer the following query.
What are the official languages of the United Nations?

user
Arabic, Mandarin Chinese, English, French, Russian, Spanish
assistant