; (iii) in subparagraph (A)(iii), by striking or (E) ; (iv) in subparagraph (B)(v), in the matter preceding subclause (I), by striking subparagraph (F) and inserting subparagraph (E) ; and (v) in subparagraph (D)(i), in the matter preceding subclause (I), by striking subject to the life insurance policy exclusion provided under subparagraph (G) and inserting subject to the resource exclusions provided under subparagraph (F) . (e) Alignment of low-Income subsidy and medicare savings program income and resource eligibility tests (1) Application of Medicaid spousal impoverishment resource allowance to MSP and LIS resource eligibility (A) In general Section 1905(p)(1)(C) of the Social Security Act ( 42 U.S.C. 1396d(p)(1)(C) ) is amended to read as follows: (C) whose resources (as determined under section 1613 for purposes of the supplemental security income program subject to the resource exclusions under subparagraph (F) of section 1860D–14(a)(3)) do not exceed— (i) in the case of an individual with a spouse, an amount equal to the sum of the first amount specified in subsection (f)(2)(A)(i) of section 1924 (as adjusted under subsection (g) of such section) and the amount specified in subsection (f)(2)(A)(ii)(II) of such section (as so adjusted); or (ii) in the case of an individual who does not have a spouse, an amount equal to 1/2 of the amount described in clause (i). . (B) Application to QDWIs Section 1905(s)(3) of the Social Security Act ( 42 U.S.C. 1396d(s)(3) ) is amended to read as follows: (3) whose resources (as determined under section 1613 for purposes of the supplemental security income program subject to the resource exclusions under subparagraph (F) of section 1860D–14(a)(3)) do not exceed— (A) in the case of an individual with a spouse, the amount in effect for the year under clause (i) of subsection (p)(1)(C); and (B) in the case of an individual who does not have a spouse, the amount in effect for the year under clause (ii) of subsection (p)(1)(C)