Tulip Corporation purchased equipment for​ $58,000 on January​ 1, 2017. On December​ 31, 2019, the equipment was sold for​ $24,000. Accumulated Depreciation as of December​ 31, 2019 was​ $33,000. Calculate gain or loss on the sale.