A company provided the following data: sales, $500,000; beginning inventory, $40,000; ending inventory, $45,000; and gross profit, $150,000. What was the amount of inventory purchased during the year?