Let \(AA_1\) and \(BB_1\) be the heights of the triangle \(ABC\). Prove that the triangles \(A_1B_1C\) and \(ABC\) are similar.