A, B and C enter into a partnership. A initially invests ₹ 25 lakhs and adds another ₹ 10 lakhs after one year. B initially invests ₹ 35 lakhs and withdraws ₹ 10 lakhs after 2 years and C invests ₹ 30 lakhs. In what ratio should the profits be divided at the end of 3 years?