A started a business with a capital of 24,000.B joined him after a month with a capital of 22,000 and C joined A and B with a capital of `20,000 and new partners joined in this manner so on till L joined in the last month with a capital of 2,000.What is the total profit if D got 72,000 more than L?