A, B and C start a business each investing Rs. 20,000. After 5 months A withdrew Rs.6000 B withdrew Rs. 4000 and C invests Rs. 6000 more. At the end of the year, a total profit of Rs. 69,900 was recorded. Find the share of each.