Rosa had 4 dozen beads. She split them into 6 equal groups and gave two groups to her friend. How many beads did Rosa have then?