Question 3
Let the excircle of triangle $ABC$ opposite the vertex $A$ be tangent to the side $BC$ at the point $A_1$. Define the points $B_1$ on $CA$ and $C_1$ on $AB$ analogously, using the excircles opposite $B$ and $C$, respectively. Suppose that the circumcenter of triangle $A_1B_1C_1$ lies on the circumcircle of triangle $ABC$. Prove that triangle $ABC$ is right-angled. The excircle opposite $A$ is tangent to segment $BC$, to ray $AB$ beyond $B$, and to ray $AC$ beyond $C$. The other excircles are defined similarly.