Ellen bought 2 ½ kg of watermelons and 1 ½ kg of bananas. How many grams of fruit did she buy in all?