Why did the railroad companies hire immigrant workers from China and Ireland, as well as African Americans and Mexican Americans?

A. Workers were scarce.
B. The work was hard and dangerous.
C. The people were willing to work for low wages.
D. All of the above
E. None of the above

D. All of the above