Which of the following was an effect of farming on the development of early river valley civilizations?

A. Surplus food allowed groups of people to specialize and stratify, which led to laws and governments.

B. Farming produced little food, so people developed government to determine how to distribute crops.

C. Because farming produced extra food, people were able to form less permanent settlements.

D. As farming proved to be too difficult, many people needed to hunt animals and gather wild plants.