Let $$N$$ be the largest positive integer with the following property: reading from left to right, each pair of consecutive digits of $$N$$ forms a perfect square. What are the leftmost three digits of $$N$$?

(第十九届AIME2 2001 第1题)