The factors of 24 are: 1, 2, 3, 4, 6, 8, 12, 24
The factors of 18 are: 1, 2, 3, 6, 9, 18
The common factors of 24 and 18 are: 1, 2, 3, 6
Therefore, the GCF of 24 and 18 is 6.
So, the largest number of kids in each row would be 6.