9. A, B and C enter into a partnership. They invest ₹ 40000, ₹ 80000 and ₹ 120,000 respectively. At the end of the first year, B withdraws ₹ 40000, while at the end of the second year, C withdraws ₹ 80000. In what ratio will the profit be shared at the end of 3 years?