; and (2) in subsection (ff)(2), by striking 2027 and inserting 2023 . 103. Permitting medicaid DSH allotments for territories Section 1923(f) of the Social Security Act ( 42 U.S.C. 1396r–4(f) ) is amended— (1) in paragraph (6), by adding at the end the following new subparagraph: (C) Territories (i) Fiscal year 2024 For fiscal year 2024, the DSH allotment for Puerto Rico, the Virgin Islands, Guam, the Northern Mariana Islands, and American Samoa shall bear the same ratio to $300,000,000 as the ratio of the number of individuals who are low-income or uninsured and residing in such respective territory (as estimated from time to time by the Secretary) bears to the sums of the number of such individuals residing in all of the territories. (ii) Subsequent fiscal year For each subsequent fiscal year, the DSH allotment for each such territory is subject to an increase in accordance with paragraph (3). ; and (2) in paragraph (9), by inserting before the period at the end the following: , and includes, beginning with fiscal year 2024, Puerto Rico, the Virgin Islands, Guam, the Northern Mariana Islands, and American Samoa . II MEDICARE A Part A 201. Calculation of medicare DSH payments for IPPS hospitals in Puerto Rico Section 1886(d)(9)(D)(iii) of the Social Security Act ( 42 U.S.C. 1395ww(d)(9)(D)(iii) ) is amended to read as follows: (iii) Subparagraph (F) (relating to disproportionate share payments), including application of subsection (r), except that for this purpose— (I) the sum described in clause (ii) of this subparagraph shall be substituted for the sum referred to in paragraph (5)(F)(ii)(I)