Consider a semicircle with center $M$ and diameter $AB$. Let $P$ be a point in the semicircle, different from $A$ and $B$, and let $Q$ be the midpoint of the arc $AP$. The line parallel to $QP$ through $M$ intersects $PB$ at the point $S$. Prove that the triangle $PMS$ is isosceles.