Marigold has the following inventory information. July 1 Beginning Inventory 30 units at $16 $480 7 Purchases 80 units at $22 1760 22 Purchases 20 units at $18 360 $2600 A physical count of merchandise inventory on July 31 reveals that there are 35 units on hand. Using the average-cost method, the value of ending inventory is