How many integers from I to 1000 are divisible by 30 but not by 16?

Answer: 
29
How many integers from I to 1000 are divisible by 30 but not by 16?