; or (2) on the date on which the person’s application for naturalization is submitted under section 334— (A) is older than 65 years of age; and (B) has been living in the United States for 1 or more periods totaling not less than 5 years after being lawfully admitted for permanent residence. (c) The requirement under subsection (a)(1) shall not apply to any person who, on the date on which the person’s application for naturalization is submitted under section 334— (1) is older than 50 years of age and has been living in the United States for 1 or more periods totaling not less than 20 years after being lawfully admitted for permanent residence; (2) is older than 55 years of age and has been living in the United States for 1 or more periods totaling not less than 15 years after being lawfully admitted for permanent residence; or (3) is older than 60 years of age and has been living in the United States for 1 or more periods totaling not less than 10 years after being lawfully admitted for permanent residence. (d) The Secretary of Homeland Security may waive, on a case-by-case basis, the requirement under subsection (a)(2) for any person who, on the date on which the person’s application for naturalization is submitted under section 334— (1) is older than 60 years of age