; and (ii) the remaining applicants shall be subject to the numerical limitation under paragraph (1)(B). (E) (i) If more H–2B visa applications are received during the last 6 months of a fiscal year on behalf of aliens desiring to work in a State described in subparagraph (A) than the number computed under clause (ii)— (I) eligible applicants equal to such computed number shall be selected, by lottery, from such applications for the exemption under subparagraph (A); and (II) the remaining applicants shall be subject to the numerical limitation under paragraph (1)(B). (ii) The number computed under this clause is the sum of— (I) the difference between— (aa) 1,000; and (bb) the number of visas that were issued to aliens desiring to work in the State during the first 6 months of a fiscal year that were not subject to the numerical limitation under paragraph (1)(B) pursuant to subparagraph (A); and (II) 500. .