A starts a business with Rs 5000 and B joins the business 5 months later with an investment of Rs 6000. After a year, they earn a profit of RS 34000. Find the shares of A and B in the profit amount depending on their individual investment.
A.
Rs 20000, Rs 14000