Answer:
function is a relation between sets that associates to every element of a first set exactly one element of the second set.
.....
So, 9 out of 10 students prefer class, so, obviously, it would not be 100. It would be 150. So in conclusion, 50 students prefer lunch over math class, whilst 150 other students prefer math class over lunch.