X, Y & Z commence a business in partnership. X puts in Rs. 20,000 for the whole year. Y introduced Rs. 30,000 and increases it Rs. 40,000 at the end of four months but withdraws Rs. 10,000 at the end of eight month. Z brings Rs. 50,000 at first, but withdraws Rs. 15,000 at the end of six months. Calculate the profit sharing ratio based on effective capital.