Different points $C$ and $D$ are chosen on a circle with center $O$ and diameter $AB$ so that they are on the same side of the diameter $AB$. On the diameter $AB$ is chosen a point $P$ different from the point $O$ such that the points $P, O, D, C$ are on the same circle. Prove that $\angle APC = \angle BPD$.