; (B) an amount that bears the same ratio to 20 percent of the sum being allotted as the product of the population aged 20 to 24, inclusive, in the State in the fiscal year preceding the fiscal year for which the determination is made and the State’s allotment ratio bears to the sum of the corresponding products for all the States; (C) an amount that bears the same ratio to 15 percent of the sum being allotted as the product of the population aged 25 to 65, inclusive, in the State in the fiscal year preceding the fiscal year for which the determination is made and the State’s allotment ratio bears to the sum of the corresponding products for all the States; and (D) an amount that bears the same ratio to 15 percent of the sum being allotted as the amounts allotted to the State under subparagraphs (A), (B), and (C) for such years bears to the sum of the amounts allotted to all the States under subparagraphs (A), (B), and (C) for such year. (4) Minimum allotment for years with additional funds (A) In general Subject to subparagraph (B), for a fiscal year for which there are additional funds described in paragraph (3), no State shall receive for such fiscal year under paragraph (3) less than 1/2 of 1 percent of the additional funds available for such fiscal year. Amounts necessary for increasing such payments to States to comply with the preceding sentence shall be obtained by ratably reducing the amounts to be paid to other States. (B) Special rule In the case of a qualifying State, the minimum allotment under subparagraph (A) for a fiscal year for the qualifying State shall be the lesser of— (i) 1/2 of 1 percent of the additional funds available for such fiscal year; and (ii) the product of— (I) 1/3 of the additional funds; multiplied by (II) the quotient of— (aa) the qualifying State’s ratio described in subparagraph (C) for the fiscal year for which the determination is made