Molly, Nafeeza and Omana started a tailoring shop. The money they invested for this is in the ratio 5 : 7 : 8. They divide the profit also in this ratio. One year, Omana got 1800 rupees more than Molly. How much did each get that year?