Let ABCABC be a triangle with ABACAB \neq AC. The points K,L,MK, L, M are the midpoints of the sides BC,CA,ABBC, CA, AB, respectively. The inscribed circle of ABCABC with centre II touches the side BCBC at point DD. The line gg, which passes through the midpoint of segment IDID and is perpendicular to IKIK, intersects the line LMLM at point PP.

Prove that PIA=90\measuredangle PIA = 90^{\circ}.