I NEED HELP!!! pls help me :)

Question 16.

Which of the sets of ordered pairs represents a function?

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

B = {(5, 3), (–2, –9), (–3, 8), (9, 3)}

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