; and (II) in the case of any benefit computation year beginning after December 31, 2019, the product of $500,000 and the quotient obtained by dividing— (aa) the national average wage index (as defined in section 209(k)(1)) for the calendar year which is 2 years before the calendar year in which the benefit computation year begins, by (bb) the national average wage index for calendar year 2017. . (B) Conforming amendment The heading for section 215(b) of such Act is amended by striking Average Indexed Monthly Earnings and inserting Basic Average Indexed Monthly Earnings; Surplus Average Indexed Monthly Earnings . (3) Adjustment of surplus earnings for purposes of determining surplus AIME Section 215(b)(3) of such Act ( 42 U.S.C. 415(b)(3) ) is amended— (A) in subparagraph (A), by striking subparagraph (B) and inserting subparagraph (C) and by inserting and determination of basic average indexed monthly income after paragraph (2) ; (B) by redesignating subparagraph (B) as subparagraph (C); and (C) by inserting after subparagraph (A) the following new subparagraph: (B) For purposes of determining under paragraph (1)(B) an individual’s surplus average indexed monthly earnings, the individual’s surplus earnings (described in paragraph (1)(B)(ii)) for a benefit computation year shall be deemed to be equal to the product of— (i) the individual’s surplus earnings for such year (as determined without regard to this subparagraph), and (ii) the quotient described in subparagraph (A)(ii). . (c) Railroad Retirement Act Section 1(h)(5) of the Railroad Retirement Act of 1974 ( 45 U.S.C. 231(h)(5) ) is amended— (1) by striking and at the end of clause (ii); (2) by striking the period at the end of clause (iii) and inserting ; and