Investment in the contract
For purposes of this subsection, the investment in the contract as of any date is—
(A)#
the aggregate amount of premiums or other consideration paid for the contract before such date, minus
(B)#
the aggregate amount received under the contract before such date, to the extent that such amount was excludable from gross income under this subtitle or prior income tax laws.