The diagram shows a cross-section of the Earth.

An earthquake takes place at point X X\,X on the Earth's surface.
Which type(s) of seismic waves would be detected at point ZZZ?
P-waves: no; S-waves: no
P-waves: no; S-waves: yes
P-waves: yes; S-waves: no
P-waves: yes; S-waves: yes