Namibia is a small and relatively open economy that is rich in mineral resources. Services account for around 60 percent of GDP. Within services the most important are wholesale and retail trade (13 percent), public administration and defense (11 percent); education (9 percent) and real estate (8 percent). Mining and quarrying (mainly diamonds and uranium) account for 12.3 percent of the output, manufacturing for 12.3 percent and agriculture and fishing for 9 percent.