The economy of Costa Rica is primarily helped by:
-
Agriculture - Costa Rica has a diverse agricultural sector that includes the production of coffee, bananas, pineapples, and flowers, which are significant export products.
-
Ecotourism - The country's rich biodiversity and commitment to environmental conservation attract many tourists, making ecotourism a key part of the economy.
Military spending does not significantly contribute to the economy of Costa Rica, as the country abolished its military in 1949 and has focused on education and social welfare instead.
In summary, the two main contributors to Costa Rica's economy from your list are agriculture and ecotourism.