3. The four-digit number $M$ is a perfect square with a non-zero unit digit. If the thousand's digit is increased by 1 and the unit's digit is decreased by 1, another four-digit perfect square can be obtained. Then $M=$ $\qquad$
$2601$