Speed of sound is maximum in:

Gas

Same in all

Liquid

Solid