So there are four groups. You survey the groups and count how many boys are in the group and girls are in the group. $$\begin{matrix} & \text{Boy}& \text{Girl}& \\\text{Group A} & 37 & 0 \\ \text{Group B} & 153 & 31 \\ \text{Group C} & 73 & 17 \\ \text{Group D} & 19 & 7\end{matrix}$$
Now, suppose that you sample a random person from all groups, and find that the person is from Group C. How can I calculate the probability that the person is a girl?