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