the lesser of—
(i)#
the aggregate of the applicable corporation’s pro rata share (as determined under section 56A(c)(3)) of the amount of income, war profits, and excess profits taxes (within the meaning of section 901) imposed by any foreign country or possession of the United States which are—
(I) taken into account on the applicable financial statement of each controlled foreign corporation with respect to which the applicable corporation is a United States shareholder, and
(II) paid or accrued (for Federal income tax purposes) by each such controlled foreign corporation, or
(i)(I)#
taken into account on the applicable financial statement of each controlled foreign corporation with respect to which the applicable corporation is a United States shareholder, and
(i)(II)#
paid or accrued (for Federal income tax purposes) by each such controlled foreign corporation, or
(ii)#
the product of the amount of the adjustment under section 56A(c)(3) and the percentage specified in section 55(b)(2)(A)(i), and