; and (B) the amount (if any) by which— (i) the unit-weighted average price for such dosage form and strength of the drug determined under paragraph (2) for the rebate period; exceeds (ii) the inflation-adjusted price for such dosage form and strength determined under paragraph (3) for the rebate period. (2) Determination of unit-weighted average price (A) In general The unit-weighted average price determined under this paragraph for a rebate period, with respect to each dosage form and strength of a rebatable covered Part D drug, is the sum of the products of— (i) the weighted average price determined under subparagraph (B) with respect to each package size of such dosage form and strength dispensed during the rebate period; and (ii) the ratio of— (I) the total number of units of such package size dispensed during the rebate period; to (II) the total number of units of such dosage form and strength of such drug dispensed during such rebate period. (B) Computation of weighted average price The weighted average price, with respect to each package size of such dosage form and strength of a rebatable covered part D drug dispensed during a rebate period, is the sum of the products of— (i) each price, as calculated for a unit of such drug, applicable to each package size of such dosage form and strength of such drug during the rebate period; and (ii) the ratio of— (I) the number of days for which each such price is applicable during the rebate period; to (II) the total number of days in such rebate period. (3) Determination of inflation-adjusted price (A) In general The inflation-adjusted price determined under this paragraph for a rebate period, with respect to each dosage form and strength of a rebatable covered part D drug, is— (i) the benchmark unit-weighted price determined under subparagraph (B) for the rebate period