A and B started a business with the initial amount of Rs. 22,000 and Rs. 18,000. After 4 months A left and C joined with the investment of 32,000. After another 4 months, B left and C invested Rs. 12,000 more. If the total profit is Rs. 67,000 after 1 year, find the profit of A and B together.
1
Rs. 39,000
2
Rs. 30,000
3
Rs. 29,000
4
Rs. 38,000
5
Rs. 45,000