Ziad Company began the year with 216 units of inventory at $19 per unit. During the year they purchased additional inventory in several transactions at different costs totaling 1,800 units. They sold 1,440 units. Using FIFO, LIFO, and average costing methods, determine the ending inventory and cost of goods sold under each method based on the beginning inventory, purchases and sales during the year.