paragraph (1)(A) shall apply to losses described in paragraph (1)(A) to the extent such losses are greater than the excess (if any) of—
(i)#
the basis of such property in the hands of the transferee, over
(ii)#
the adjusted basis of such property immediately before the death of the taxpayer, and