Which of the sets of ordered pairs represents a function?

A = {(2, −2), (5, −5), (−2, 2), (−5, 5)}
B = {(4, 2), (4, −2), (9, 3), (9, −3)}

Only A
Only B
Both A and B
Neither A nor B