Sound waves are compression waves and need a medium in order to transfer their energy. A medium is any matter, specifically solids, liquids and gases. Sound waves cannot move through the vacuum of space because there is no medium.
Now to the question: The speed of sound through air is a standard 343 m/s, but the denser the material (the closer together the molecules) the faster sound waves can go because they transfer their energy from particle to particle. Gases are the least dense of the three types of matter because their molecules are farthest apart, their particles bounce around freely. Liquids are more dense than gases, their particles slide past one another, and solids are more dense than liquids because their molecules are the closest together, vibrating in place. From this information and the data given, I bet you can figure out your answer. If not, get back to me and I'll help you further.