; (B) for which, as determined by the Secretary and the Director, the occupancy of which will promote community revitalization; and (C) that— (i) was previously subject to a mortgage loan insured by the Federal Housing Administration under title II of the National Housing Act ( 12 U.S.C. 1707 et seq.) and is owned by the Secretary pursuant to the payment of insurance benefits under such Act; or (ii) is a real estate owned property of the Federal National Mortgage Association or the Federal Home Loan Mortgage Corporation. (g) Authorization of appropriations There are authorized to be appropriated such sums as necessary to carry out this Act for fiscal years 2018 to 2020.