Which of the following represents a function?

A.
x -10 -8 -3 -3
y 16 14 16 15


B.
x -10 -8 -10 3
y 16 16 22 15


C.
x -10 -8 -3 3
y 16 14 22 16


D.
x -10 -8 -3 -8
y 16 14 16 15