For purposes of subparagraph (A), the term “disqualified property” means any property which is acquired by the liquidating corporation in a transaction to which section
351 applied, or as a contribution to capital, during the 5-year period ending on the date of the distribution. Such term includes any property if the adjusted basis of such property is determined (in whole or in part) by reference to the adjusted basis of property described in the preceding sentence.