Profit earned by an organisation is distributed among officers and clerks in the ratio of 5:3. If the number of officers is 45 and the number of clerks is 80 and the amount received by each officer is Rs 25,000, what was the total amount of profit earned?