probability for random sample
In the senior year of a high school graduating class at 100 students, 42 studied mathematics, 68 studied psychology, 54 studied history, 22 studied both mathematics and history, 25 studied both mathematics and psychology, 7 studied history but neither mathematics nor psychology, 10 studied all three subjects, and 8 did not take any of the three. If a student is selected at random, find the probability that
a.) a person enrolled in psychology takes all three subjects
b.) a person not taking psychology is taking both history and mathematics.