The revenue generated by the sale of 5000 units of a commodity is 400,000, and the average cost of producing 5000 units is20 per unit. What is the profit made from selling 5000 units of the commodity?