; (2) $24,500,000 is for carrying out the Transition Assistance Program under 38 U.S.C. 4113 and 10 U.S.C. 1144 ; (3) $42,127,000 is for Federal administration of chapters 41, 42, and 43 of title 38, United States Code: Provided , That, up to $500,000 may be used to carry out the Hire VETS Act (division O of Public Law 115–31 ); and (4) $3,414,000 is for the National Veterans' Employment and Training Services Institute under 38 U.S.C. 4109: Provided , That the Secretary may reallocate among the appropriations provided under paragraphs (1) through (4) above an amount not to exceed 3 percent of the appropriation from which such reallocation is made. In addition, from the General Fund of the Treasury, $50,000,000 is for carrying out programs to assist homeless veterans and veterans at risk of homelessness who are transitioning from certain institutions under sections 2021, 2021A, and 2023 of title 38, United States Code: Provided , That notwithstanding subsections (c)(3) and (d) of section 2023, the Secretary may award grants through September 30, 2019, to provide services under such section: Provided further , That services provided under section 2023 may include, in addition to services to the individuals described in subsection (e) of such section, services to veterans recently released from incarceration who are at risk of homelessness. In addition, fees may be assessed and deposited in the HIRE Vets Medallion Award Fund pursuant to section 5(b) of the HIRE Vets Act, and such amounts shall be available to the Secretary to carry out the HIRE Vets Medallion Award Program, as authorized by such Act, and shall remain available until expended: Provided , That such sums shall be in addition to any other funds available for such purposes, including funds available under paragraph (3) of this heading: Provided further , That section 2(d) of division O of the Consolidated Appropriations Act, 2017 ( Public Law 115–31