What is the total Profit?
A and B stayed a business by investing $ 350,000 and $ 140,000 respectively. A gets 20% of the early profit for managing the business. There after the profit is divided in the ratio of the capital. If A received totally $38,000 more than B at the end of the year, then the total profit is?