; or ; and (B) in paragraph (3), by striking subparagraphs (B), (C), (D), and (E) of paragraph (2) of this subsection and inserting subparagraphs (B) and (C) of paragraph (2), as applicable . (2) Technical correction Section 1839(b) of the Social Security Act ( 42 U.S.C. 1395r(b) ) is amended, in the second sentence, by striking close of the enrollment period each place it appears and inserting close of the month . (c) Application of the part A late enrollment penalty time limitation provision to the part B late enrollment penalty (1) In general Section 1839(b) of the Social Security Act ( 42 U.S.C. 1395r(b) ) is amended by adding at the end the following new sentence: Any percent increase in an individual's monthly premium under the first sentence shall only apply to premiums paid during a period equal to twice the number of months in the full 12-month periods described in the first sentence. . (2) Conforming amendment to the part A late enrollment penalty Section 1818(c)(6) of the Social Security Act ( 42 U.S.C. 1395i–2(c)(6) ) is amended by striking and shall only apply to premiums paid during a period equal to twice the number of months in the full 12-month periods described in that section . (3) Effective date (A) In general The amendments made by this section shall take effect on the date of the enactment of this Act and shall apply to premiums for months beginning on or after January 1, 2020. (B) Counting of months In applying the amendment made by paragraph (1), months (occurring before, during, or after the month that includes the date of the enactment of this Act) in which an individual's monthly premium is increased under subsection (b) of section 1839 of the Social Security Act ( 42 U.S.C. 1395r ) shall be taken into account in determining whether the limitation under the last sentence of such subsection (b), as added by paragraph (1), is applicable. (d) Application of part B deemed enrollment process to residents of Puerto Rico