Mr. Tamayo’s class in grade 4 is composed of 18 boys and 24 girls. If he is going to make groups of boys and girls for the activities, what is the biggest number of pupils in the group if there are the same number of boys and girls?