Three persons A, B and C started a business with their shares in the ratio 3 : 4 : 5. After 4 months B withdrew his 50% share and C withdrew his 20% share 4 months prior to completion of the year. If total profit in the year is ₹ 31,000 then find the share of A in the profit.