A company made the subsequent merchandise purchases and sales during the month of May:
May 1 purchased 380 units at $15 each
May 5 Purchased 270 units at $17 each
May 10 Sold 400 units sold $50 each
May 20 purchased 300 units at $22 each
May 25 sold 400 units at $50 each
There was no starting inventory. If the company uses the FIFO periodic inventory method, what would be the cost of the ending inventory?