The sum of all numbers from 1 to 1000, which are neither divisible by 2 nor by 5 is