Ann, Ben, and Cindy were eating Skittles. The ratio of the numbers of candies they ate is 5:5:7. If Cindy ate 30 Skittles less than Ann and Ben together, what is the total number of Skittles the three of them ate?