Of the following sets, which represents a function?

Situation A = {student's name, all the colors that the student likes}

Situation B = {student's name, names of all of the student's teachers}