Finding the number of teachers for a given number of students