In a high school graduating class of 100 students, 54 studied mathematics, 69 studied history, and 35 studied both mathematics and history. If one of these students is selected at random, find the probability that (i) the student took mathematics or history; (ii) the student does not take either of these subjects; (iii) the student takes history but not mathematics.