In the hundreds

For how many positive values of $n$ are both $\frac n2$ and $2n$ three-digit whole numbers?

Problem



For how many positive values of $n$ are both $\frac{1}{2}n$ and $2n$ three-digit whole numbers?