The terminal side of θ passes through the point (8,−7).

What is the exact value of cosθ in simplified form?