In the triangle \(ABC\) the points \(D,E,F\) are chosen on the sides \(AB, BC, AC\) in such a way that \(\angle ADF = \angle BDE\), \(\angle AFD = \angle CFE\), \(\angle CEF = \angle BED\). Prove that the segments \(AE, BF, CD\) are the heights of the triangle \(ABC\).