A cash-method corporation adopts a plan of complete liquidation and distributes the following assets to its shareholders: An installment note receivable with a remaining face amount of $20372, resulting from a sale of a warehouse for $74377 seven years ago in which the warehouse's basis at the time of sale was $25842. What gains are recognized by the liquidating corporation on the distributions in complete liquidation?