
Two data sets, A and B, of integers each are summarized in the histograms shown. For each of the histograms, the first interval represents the frequency of integers greater than or equal to its starting value but less than its ending value, and so on. What is the largest possible sum of all integers in data set A and all integers in data set B combined?
887
1117
1590
2004