; and (2) a grant for fiscal year 2018 and each succeeding fiscal year through fiscal year 2026, that is equal to the amount of funds appropriated for the State for Federal postsecondary education programs for fiscal year 2012 (except for the funds appropriated for fiscal year 2012 for such programs for such State that are being transferred under section 7). (b) Appropriation Out of any money in the Treasury of the United States not otherwise appropriated, there are appropriated for fiscal years 2018 through 2026, such sums as are necessary for grants under subsection (a). (c) Requirements relating to intergovernmental financing The Secretary of the Treasury shall make the transfer of funds under grants under subsection (a) directly to each State in accordance with the requirements of section 6503 of title 31, United States Code. (d) Expenditure of funds Amounts received by a State under this section for any fiscal year shall be expended by the State in such fiscal year or in the succeeding fiscal year. (e) Use of funds Funds made available to a State— (1) under subsection (a)(1), shall be used by the State for any elementary or secondary education purpose permitted by State law, including increases in teacher salaries