Quality or Quantity?

Is the number of children in a lesson the most important issue, or is the quality of the teacher more important?