Find the sum of all integers between 500 and 1400 that are not divisible by 7