The following table shows number of males and females of a locality in different age groups.
Age in years10−2021−50Above 50Male15169Female82012
Age in years10−2021−50Above 50Male12164Female8146
If one person is selected at random, find the probability of getting a female.