a , b and c started a shop by investing rs . 5,000 , rs . 15,000 and rs . 30,000 respectively . at the end of the year , the profits were distributed among them . if c â € ™ s share of profit be rs . 3000 , then the total profit was :