Umar and Avinash started a partnership with investments of Rs. 10000 and Rs. 15000, respectively. But due to a financial emergency the latter had to withdraw his investment after 8 months. In what ratio should the profit of the first twelve months be shared among the duo?