Let S be a set with 1000 elements. Find a, b, c, the number of subsets R of S such that |R| = 0, 1, 2 (mod 3) respectively. Find a, b, c if |S| = 1001.