How did the Greeks decide who should hold public Office?

class