Saguaro Company updates its inventory perpetually. Its beginning inventory is $70,000, goods purchased during the period cost $240,000, and the cost of goods sold for the period is $280,000. What is the amount of the ending inventory?
a. $30,000.
b. $50,000.
c. $40,000.
d. $90,000.