In a school,all the students play either basketball or volleyball or both as part of their physical education class.300 students play basketball,270 students play volleyball and 120 students play both games​