It affected them immeasurably because it enabled them to trade this surplus of food for things that they might need from other countries and thus get other pieces of technology or knowledge or anything similar. They could improve their state that way and that's how development of civilizations began.
answer
Athens
explanation
because in Athens the life of science was more important than the city of Sparta which only emphasized the military power for war