As ocean waves approach shore, their velocity decreases. How does a decrease in velocity affect the frequency and wavelength of the waves entering the shallow water?

A. frequency increases and wavelength decreases

B. frequency decreases and wavelength increases

C. frequency stays the same and wavelength increases

D. frequency stays the same and wavelength decreases