Let $$N$$ be the greatest integer multiple of 8, whose digits are all different. What is the remainder when $$N$$ is divided by 1000?

(第二十一届AIME2 2003 第2题)