A soccer team has 12 girls and 18 boys. The team is split into groups that have the same ratio of girls to boys as that of the whole team. How many girls are in a group that has 12 boys?