Which of the relations given by the following sets of ordered pairs is a function?
A. {(5,4),(4,3),(3,2),(4,5),(2,1)}
B. {(6,1),(-3,1),(3,5),(2,4),(-1,2)}
C. {(1,2),(-4,8),(-3,5),(1,-2),(7,12)}
D. {(5,4),(5,6),(5,8),(5,10),(5,12)}