Mathematics-Data-24

A group of students includes sixteen students that prefer the color blue, seven students that prefer the color red, and the rest prefer the color green.  The probability that a randomly selected student prefers the color red is \frac{1}{6} .  How many total students are there in the group?