I calculated the mean total service time for all the citizens and foreigners.
for citizens : 18200 seconds
for foreigners : 18375 second
Now, according to the fact that total number of citizens are more than foreigners, I should assign more agents for citizens in order to reduce the waiting...