Which factor was a key reason that the Greek city-states had strong economies?

the mountainous terrain
a booming system of trade
stable governments
wealth gained from conquests
climate suited for farming