A firm that sells a single product had a beginning inventory of 4,000 units with a total cost of $28,000. Early in the year, 10,000 units were purchased at $9 each. Using FIFO, what is the value of the ending inventory of 3,000 units?
A) $27,000
B) $24,000
C) $21,000
D) $36,000