On January 2, 2017, Hannah Company sold a machine for $1,000 that it had used for several years. The machine cost $12,000, and had accumulated depreciation of $8,000 at the time of sale. What gain or loss will be reported on the income statement for the sale of the machine?