There are 80 students enrolled in a high school. All students must choose to study either 1, 2 or 3 subjects this year.
This year, 18 students chose to study 1 subject only.
Adding the names from the class rolls in all three subjects, the school notes there are 165 names.