In a periodic inventory system, which of the following accounts may be closed by debiting Cost of Goods Sold? a) Sales, Inventory (beginning), and Gross Profit. b) Sales, Inventory (beginning), and Cost of Goods Available for Sale. c) Inventory (beginning) and Purchases. d) Purchases and Inventory (ending)."