A, B and C are engaged in a printing business. A being the working partner, receives 10% of the net profit as salary. The remaining profit is divided among themselves in the ratio 4:5:9. If A gets in total Rs. 3,00,000, find the total profit in the business and the shares of B and C in it.