Of the high school students who participated in a recent survey, 110 had taken a course in biology and 230 had taken a course in history. How many students participated in the survey?
(1) Of the students who participated in the survey, 120 had taken neither a course in biology nor a course in history.
(2) Of the students who participated in the survey, 60 had taken both a course in biology and a course in history.