Let $ABC$ be an acute triangle, and let $AA_1, BB_1$, and $CC_1$ be its altitudes. Segments $AA_1$ and $B_1C_1$ meet at point $K$. The perpendicular bisector of segment $A_1K$ intersects sides $AB$ and $AC$ at $L$ and $M$, respectively. Prove that points $A,A_1, L$, and $M$ lie on a circle.