Which mechanical waves needs a medium to travel through?

A. Longitudinal and surface waves

B. Transverse and longitudinal waves

C. Transverse, longitudinal, and surface waves

D. Surfaces waves only