Mr. Thompson's sixth-grade class is competing in the school field day. There are 16 boys and 12 girls in his class. He divided the class into the greatest number of teams possible with the same number of boys and girls on each team? How many girls are on each team? How many boys are on each team?