The following lots of Commodity Z were available for sale during the year. Line Item Description Units and Cost Beginning inventory 7 units at $49 First purchase 18 units at $54 Second purchase 27 units at $57 Third purchase 13 units at $57 The firm uses the periodic inventory system, and there are 23 units of the commodity on hand at the end of the year. What is the ending inventory balance of Commodity Z using FIFO? a.$1,311 b.$3,572 c.$3,595 d.$1,127.