The following lots of Commodity Z were available for sale during the year. Beginning inventory 9 units at $50 First purchase 16 units at $50 Second purchase 21 units at $59 Third purchase 16 units at $62 The firm uses the periodic system, and there are 23 units of the commodity on hand at the end of the year. What is the ending inventory balance at the end of the year according to the FIFO method?