Let $f : \mathbb{R} → \mathbb{R}$ be continuous, with $f(x)f(f(x)) = 1$ for all $x ∈ \mathbb{R}$. If $f(1000) = 999$, find $f(500)$.
I try to solve this problem, but I don't know how to use de continuity on $f$. Is anyone could give me a little hint on the continuity? And please, don't give me the answer to the question.