In general
For purposes of this section, the following amounts shall be treated as an amount paid by reason of the death of an insured:
(A)#
Any amount received under a life insurance contract on the life of an insured who is a terminally ill individual.
(B)#
Any amount received under a life insurance contract on the life of an insured who is a chronically ill individual.