On December 31, Strike Company sold one of its batting cages for $22,877. The equipment had an initial cost of $254,189 and had accumulated depreciation of $228,770. Depreciation has been recorded up to the end of the year. What is the amount of the gain or loss on this transaction?
a. gain of $20,000
b. loss of $30,000
c. loss of $20,000
d. gain of $30,000