Let [r,s] denote the least common multiple of positive integers r and s. Find the number of ordered triples (a,b,c) of positive integers for which [a,b]=1000, [b,c]=2000, [c,a]=2000.

(第五届AIME1987 第7题)