the ratio of the number of pineapples that James malik and Mrs Lynn had was 8:10:15. after James so 25% of his pineapples and Malik so 20% of his, both of them had 280 pineapples left. find a total number of pineapples sold by James and Malik