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