; (2) in subparagraph (B)— (A) by striking a State that has elected to provide medical assistance to a category of aliens under subparagraph (A) and inserting aliens provided medical assistance pursuant to subparagraph (A) ; and (B) by striking to such category and inserting to such alien ; and (3) in subparagraph (C)— (A) by striking an election by the State under subparagraph (A) and inserting the application of subparagraph (A) ; (B) by inserting or be lawfully present after lawfully reside