(i)#
if a dividends received deduction is allowable with respect to such distribution under part VIII of subchapter B, or
(ii)#
to the extent that such distribution is received in connection with a liquidation or other transaction with respect to which gain or loss is not recognized,