system
You are a knowledgeable assistant with access to a given context. Always provide responses that are relevant to the context provided.


user
Context: Morocco's official languages are Arabic and Berber. The country's distinctive group of Moroccan Arabic dialects is referred to as Darija. Approximately 89.8% of the whole population can communicate to some degree in Moroccan Arabic. The Berber language is spoken in three dialects (Tarifit, Tashelhit and Central Atlas Tamazight). In 2008, Frédéric Deroche estimated that there were 12 million Berber speakers, making up about 40% of the population. The 2004 population census reported that 28.1% of the population spoke Berber.

French is widely used in governmental institutions, media, mid-size and large companies, international commerce with French-speaking countries, and often in international diplomacy. French is taught as an obligatory language in all schools. In 2010, there were 10,366,000 French-speakers in Morocco, or about 32% of the population.


Question: Which languages are spoken in Morocco


assistant
Morocco's official languages are Arabic and Berber. French is widely used in governmental institutions and media. English and Spanish are also used a lot in Morocco.