http://halakhah.com/berakoth/berakoth_54.html
Abaye said: And he must utter his thanksgiving in the presence of ten, as it is written: Let them exalt Him in the assembly of the people.22 Mar Zutra said: And two of them must be rabbis, as it says, And praise Him in the seat of the elders.23 R. Ashi demurred to this: You might as well say [he remarked], that all should be rabbis! — Is it written, 'In the assembly of elders'? It is written, 'In the assembly of the people'! — Let us say then, in the presence of ten ordinary people and two rabbis [in addition]? — This is a difficulty.