; (B) in subparagraph (B)— (i) by striking subparagraphs (A), (B)(ii), and (C) of paragraph (2) and inserting clause (i), (ii)(II), and (iii) of subparagraph (A) ; and (ii) by redesignating clauses (i) through (iii) as subclauses (I) through (III), respectively, and adjusting the margins accordingly; and (C) by redesignating subparagraphs (A) and (B) as clauses (i) and (ii), respectively, and adjusting the margins accordingly; (5) by redesignating paragraph (3) as subparagraph (B), and adjusting the margins accordingly; and (6) by inserting after paragraph (2)(B), as redesignated by paragraph (5), the following: (3) Recipients of certain means-tested benefits (A) In General Paragraph (1) shall apply to a student if— (i) that student is a dependent student whose parent participated in a means-tested Federal benefits program at any time during the period encompassed from the beginning of the second prior calendar year through the date of filing; or (ii) that student is independent and the student or spouse of that student participated in a means-tested Federal benefits program at any time during the period encompassed from the beginning of the second prior calendar year through the date of filing. (B) Means-tested Federal benefits program In this paragraph, the term means-tested Federal benefits program means— (i) the supplemental security income program under title XVI of the Social Security Act ( 42 U.S.C. 1381 et seq.); (ii) the supplemental nutrition assistance program established under the Food and Nutrition Act of 2008 ( 7 U.S.C. 2011 et seq.); (iii) the Medicaid program under title XIX of the Social Security Act ( 42 U.S.C. 1396 et seq.); (iv) a State program funded under the temporary assistance for needy families program under part A of title IV of the Social Security Act ( 42 U.S.C. 601 et seq.); (v) the special supplemental nutrition program for women, infants, and children established by section 17 of the Child Nutrition Act of 1966 ( 42 U.S.C. 1786 )