A factory can produce 50 refrigerators in 8 hours.

How many hours would it take to produce 1250 refrigerators?

A. 3.125 h

B. 6.25 h

C. 200 h

D. 7812.5 h