A store had 1,288 sodas, both diet and regular. The ratio of diet sodas to regular sodas was 10:4. How many diet sodas were there?