What is the molarity of a 9.0 L solution that contains 0.500 mol HCl?

A.8.29 M
B.0.879 M
C.0.018 M
D.0.056 M