Let $\mathbb N$ be the set of positive integers. A function $f:\mathbb N\to\mathbb N$ satisfies the equation \[
\underbrace{f(f(\ldots f}_{f(n)\text{ times}}(n)\ldots))=\frac{n^2}{f(f(n))}
\] for all positive integers $n$. Given this information, determine all possible values of $f(1000)$.