The beginning inventory at cost is $80,000.00 and at retail is $100,000.00. Purchases at cost are $160,000.00 and the retail value is $200,000.00. Net sales are $250,000.00. The ending inventory at cost is

A. $240,000
B. $50,000.00
C. $40,000
D. $192,000