There are three groups in the class. Each group contains a different number of students. The first group has 15 students, out of which 8 are girls. The second group has 9 students, out of which the girls are 4. The third group has 12 students, out of which 7 are girls. Find the probability of selecting a girl randomly from one of the three groups