Find how many positive integers with exactly four decimal digits, that is, positive integers between 1000 and 9999 inclusive, have the following properties:
(a) divisible by 5 but not by 7
(b) divisible by 5 and by 7
(c) are divisible by 5 or by 7 (inclusive or)
(d) divisible by 7