Find all positive integers $n$ that have 4 digits, all of which are perfect squares, and such that $n$ is divisible by 2, 3, 5, and 7.

Let's think step by step and output the final answer within \boxed{}.
user