The following lots of a particular commodity were available for sale during the year:
Beginning inventory 5 units at $61
First purchase 15 units at $63
Second purchase 10 units at $74
Third purchase 10 units at $77
The firm uses the periodic system and there are 20 units of the commodity on hand at the end of the year. What is the amount of the inventory at the end of the year according to the average cost method?