How many numbers less than 1000 are NOT divisible by either:

a) 2 or 5

b) 2, 5 or 7