What is the range of the given relation?
{(0,2),(−1,4),(1,3),(0,1)}
A
{−1,0,1}

B
{−1,0,2,4}

C
{1,2,3,4}

D
{0,1,3}