Mathematics-Data-22

A bag contains a number of colored marbles, of which 16 are green and the rest are yellow.  If someone randomly selected a marble from the bag, the probability that the marble would be green is \frac{2}{3} . How many total marbles are there in the bag?