Let S be the sample space.
Total number of students in the class = 12 boys + 16 girls = 28.
Then, n(S) = 28.
Let E be the event of calling one of them by enroll number.
Given that, number of girls = 16.
Then, n(E) = 16.
The probability that the one called is a girl = n(S)/n(E) = 16/28 = 4/7.