; and (II) in clause (i), by striking solicit applications to award 3-year grants in each of fiscal years 2012 through 2017 and inserting continue through fiscal year 2019 grants awarded for any of fiscal years 2015 through 2017 ; (C) in subsection (c)(1), by inserting after youth with HIV/AIDS, the following: victims of human trafficking, ; and (D) in subsection (f), by striking 2017 and inserting 2019 . (2) Effective date The amendments made by this subsection take effect on October 1, 2017. 106. Decreasing reduction in Medicaid DSH allotments Section 1923(f)(7)(A) of the Social Security Act ( 42 U.S.C. 1396r–4(f)(7)(A) ) is amended— (1) in clause (i), in the matter preceding subclause (I), by striking 2018 and inserting 2023 ; and (2) in clause (ii), by striking subclauses (I) through (VIII) and inserting the following: (I) $5,000,000,000 for fiscal year 2023; (II) $5,500,000,000 for fiscal year 2024; and (III) $6,000,000,000 for fiscal year 2025. . 107. Increase in territorial cap for Medicaid payments Section 1108(g)(5) of the Social Security Act ( 42 U.S.C. 1308(g)(5) ) is amended— (1) in subparagraph (A)— (A) by striking subparagraph (B) and inserting subparagraphs (B), (C), and (D) ; and (B) by striking 2019 and inserting 2022 ; and (2) by adding at the end the following new subparagraphs: (C) The amount of the increase otherwise provided under subparagraph (A) for— (i) Puerto Rico shall, after application of subparagraph (B), be further increased by $1,600,000,000 for each of fiscal years 2018 through 2022