Let \(S\) be the sum of all numbers of the form \(\frac{a}{b}\), where \(a\) and \(b\) are relatively prime positive divisors of \(1000.\) What is the greatest integer that does not exceed \(\frac{S}{10}\)?

(第十八届AIME1 2000 第11题)