Which of the sets of ordered pairs represents a function?

A = {(1, –2), (3, –5), (5, 2), (7, 5)}

B = {(4, 2), (4, –2), (9, 3), (9, –3)}


A: Only A


B: Only B


C: Both A and B


D: Neither A nor B