The Rwandan people depend on subsistence agriculture for survival, but do produce several key crops for export. The crop that generates the most foreign exchange is coffee. In 1999, about 14,500 metric tons of coffee were produced. Most coffee is grown on small farms by independent farmers. Tea is the other major export, and Rwanda also produces pyrethrum, plantains, maize, soybeans, sugar cane, wheat, beans, cassava, sweet potatoes, and sorghum. The country has approximately 980,000 goats, 500,000 cattle, 270,000 sheep, and 80,000 pigs.