In 2022, Skylar sold equipment for $99,800 cash and a $998,000 note due in two years. Skylar's cost of the property was $798,400, and he had deducted depreciation of $479,040.

How much gain can be deferred under the installment sale method?