22. Let $[x]$ denote the greatest integer not exceeding the real number $x$. Then there are ( ) positive integers $n$ not exceeding 1000 such that: $\left[\frac{998}{n}\right]+\left[\frac{999}{n}\right]+\left[\frac{1000}{n}\right]$ is not divisible by 3.
(A) 22
(B) 23
(C) 24
(D) 25
(E) 26