A hyperbola passes through the foci of the ellipse $\frac{x^2}{25}+\frac{y^2}{16}=1$ and its transverse and conjugate axes coincide with major and minor axes of the ellipse, respectively. If the product of their eccentricities in one, then the equation of the hyperbola is :