; or (B) to reimburse, in accordance with paragraph (13)(D), a State-sponsored nonimmigrant who— (i) has departed the United States; (ii) did not seek employment without authorization in a State that did not sponsor the nonimmigrant; and (iii) did not otherwise reside in the United States without status under the immigration laws. (17) Fees (A) Federal fees A State shall pay a fee to the Secretary for each year in which the State participates in the State-sponsored nonimmigrant program in an amount determined by the Secretary to be necessary to cover the Federal costs of overseeing the State-sponsored nonimmigrant program in the State. (B) State fees Nothing in this subsection may be construed to limit or regulate fees required by the State for State-sponsored nonimmigrants or employers of State-sponsored nonimmigrants. (18) Numerical limitations (A) In general The total number of aliens who may be issued visas or otherwise provided State-sponsored nonimmigrant status under this subsection during any fiscal year may not exceed the total number of visas computed under subparagraph (B). (B) Distribution Subject to subparagraphs (C), (D), and (E), the number of State-sponsored nonimmigrant visas made available in a fiscal year to a State that participates in the State-sponsored nonimmigrant program shall be the sum of— (i) 5,000; (ii) the sum of the amounts computed under subparagraphs (C) and (D) in the prior year; and (iii) the percentage of the total population in all States participating in the State-sponsored nonimmigrant program represented by the population of that State multiplied by the sum of— (I) 245,000; (II) the number of nonparticipating States multiplied by 5,000