How many numbers are there between 1 and 1000 both inclusive which are divisible neither by 2 nor by 5?