What is the range of the function represented by these ordered pairs?

(2,5), (3,5), (4,7), (10,7)

A) { 5, 7 }
B) { 2, 3, 4, 10 }
C) { 2, 3, 4, 5, 7, 10 }
D) { 5, 7, 10 }