; or (B) (i) that has historically relied on coal mining for a substantial portion of its economy; and (ii) in which the economic contribution of coal mining has significantly declined. (3) Stakeholder collaboration (A) In general The project has been the subject of project planning under subsection (g) and has been the focus of collaboration, including partnerships, as appropriate, with interested persons or local organizations. (B) Public notice As part of project planning, the public has been notified and has been given an opportunity to comment at a public meeting convened in a community near the proposed site. (4) Eligible applicants The project has been proposed by entities of State, local, county, or tribal governments, or local organizations, and will be approved and executed by State or tribal programs, approved under section 405 or referred to in section 402(g)(8)(B), which may include subcontracting project-related activities, as appropriate. (d) Distribution of funds (1) Uncertified States (A) In general From the amount made available in subsection (b), the Secretary shall distribute $195,000,000 annually for each of fiscal years 2017 through 2021 to States and Indian tribes that have a State or tribal program approved under section 405 or are referred to in section 402(g)(8)(B), and have not made a certification under section 411(a) in which the Secretary has concurred, as follows: (i) Four-fifths of such amount shall be distributed based on the proportion of the amount of coal historically produced in each State or from the lands of each Indian tribe concerned before August 3, 1977. (ii) One-fifth of such amount shall be distributed based on the proportion of reclamation fees paid during the period of fiscal years 2012 through 2016 for lands in each State or lands of each Indian tribe concerned. (B) Supplemental funds Funds distributed under this section— (i) shall be in addition to, and shall not affect, the amount of funds distributed— (I) to States and Indian tribes under section 401(f)