; and (B) the Federal average medical assistance matching percentage (as defined in paragraph (4)) for the State for the fiscal year. (4) Federal average medical assistance matching percentage In this subsection, the term Federal average medical assistance matching percentage means, for a State for a fiscal year, the ratio (expressed as a percentage) of— (A) the amount of the Federal payments that would be made to the State under section 1903(a)(1) for medical assistance expenditures for calendar quarters in the fiscal year if paragraph (1) did not apply; to (B) the amount of the medical assistance expenditures for the State and fiscal year. (b) Adjusted total medical assistance expenditures Subject to subsection (g), the following shall apply: (1) In general In this section, the term adjusted total medical assistance expenditures means, for a State— (A) for fiscal year 2016, the product of— (i) the amount of the medical assistance expenditures (as defined in paragraph (2)) for the State and fiscal year, reduced by the amount of any excluded expenditures (as defined in paragraph (3)) for the State and fiscal year otherwise included in such medical assistance expenditures; and (ii) the 1903A FY16 population percentage (as defined in paragraph (4)) for the State