A, B and C enter into a partnership investing Rs.35000, Rs.45000 and Rs.55000. Find their respective shares in annual profit of 40,500.