From a survey of 60 students attending a university, it was found that 9 were living off campus, 36 were undergraduates, and 3 were undergraduates living off campus. Find the number of these students who were
a undergraduates, were living off campus, or both.
b undergraduates living on campus.
c graduate students living on campus.