There are 18 boys and 24 girls on a swimming team.The instructor wants to divide them into groups of equal size with the greatest nunber of kids possible in each group. How many kids should be in each group?