The centers of three pairwise externally tangent circles are located at points $A, B, C$,

$\angle A B C=90^{\circ}$. The points of tangency are $K, P$, and $M$; point $P$ lies on side $A C$. Find the angle $K P M$.