A, B and C started a business where their initial capital was in the ratio of 2:3:4. At the end of 6 months, A invested an amount such that his total capital became equal to C's initial capital investment. If the annual profit of B is Rs. 3000 then what is the total profit