a company purchased 200 units for $30 each on january 31. it purchased 240 units for $33 each on february 28. it sold a total of 350 units for $45 each from march 1 through december 31. what is the cost of ending inventory on december 31 if the company uses the first-in, first-out (fifo) inventory costing method? (assume that the company uses a perpetual inventory system.)