What is the domain of the given relation?

{(1 , 3), (0 , 4), (2 , 1)}
A
{1 , 3 , 4}

B
{0 , 1 , 3}

C
{1 , 2 , 4}

D
{0 , 1 , 2}