A corporation uses a FIFO perpetual inventory system. August 2, 25 units were purchased at $12 per unit. August 5, 10 units were purchased at $13 per unit. August 15, 12 units were sold at $25 per unit. August 18, 15 units were purchased at $14 per unit. What was the dollar amount of the ending inventory for the month of August?