Let $n$ be a square number with 4 digits, such that all its digits are less than 6. If we add 1 to each digit, the resulting number is another square. Find $n$.

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