; and and inserting a semicolon; and (B) by striking paragraph (21) and inserting the following new paragraphs: (21) for fiscal year 2018, $21,500,000,000; (22) for fiscal year 2019, $22,600,000,000; (23) for fiscal year 2020, $23,700,000,000; (24) for fiscal year 2021, $24,800,000,000; (25) for fiscal year 2022, $25,900,000,000; and (26) for fiscal year 2023, for purposes of making two semi-annual allotments— (A) $2,850,000,000 for the period beginning on October 1, 2022, and ending on March 31, 2023; and (B) $2,850,000,000 for the period beginning on April 1, 2023, and ending on September 30, 2023. . (2) Prevention of duplicate appropriations for fiscal year 2018 Notwithstanding any other provision of law, insofar as funds have been appropriated under subsection (a)(21) of section 2104 of the Social Security Act ( 42 U.S.C. 1397dd ), as such subsection is in effect on the day before the date of the enactment of this Act, to provide allotments to States under the State Children's Health Insurance Program established under title XXI of the Social Security Act ( 42 U.S.C. 1397aa et seq.) (whether implemented under title XIX, XXI, or both, of the Social Security Act) for fiscal year 2018— (A) any amounts that are so appropriated that are not so allotted and obligated before the date of the enactment of this Act, are rescinded; and (B) any amount provided for CHIP allotments to a State under this section (and the amendments made by this section) for such fiscal year shall be reduced by the amount of such appropriations so allotted and obligated before such date. (b) Allotments (1) In general Section 2104(m) of the Social Security Act ( 42 U.S.C. 1397dd(m) ), as amended by section 3201(b) of the CHIP and Public Health Funding Extension Act (division C of Public Law 115–96 ), is amended— (A) in paragraph (2)(B)— (i) in the matter preceding clause (i), by striking (19) and inserting (25) ; (ii) in clause (i), by striking and 2017 and inserting , 2017, and 2023