Let $M$ and $N$ be the midpoints of the hypotenuse $AB$ and the leg $BC$ of a right triangles $ABC$ respectively. The excircle of the triangle $ACM$ touches the side $AM$ at point $Q$, and line $AC$ at point $P$. Prove that points $P, Q$ and $N$ lie on one straight line.
Problem
Source: 2016 Oral Moscow Geometry Olympiad grades 8-9 p4
Tags: geometry, right triangle, excircle, collinear