Profit earned by an corporation is distributed among total officers and clerks in the ratio of 7:5 respectively. If the number of officers is 60 and the number of clerks is 100 and the amount received by an each officer is Rs.35,000. What was the total amount of profit earned?