a) Two students need to be chosen to participate in a mathematical Olympiad from a class of 30 students. In how many ways can this be done?
b) In how many ways can a team of three students in the same class be chosen?