Which sample contains the greatest number of molecules?

A 4g of hydrogen
B 18 g of water
C 24 dm³ of oxygen
D 66 g of carbon dioxide

And why is the answer that way?