; and (B) in the case of the Virgin Islands, by $12,600,000. (2) No effect on allotments to other States The increase to the allotments for fiscal year 2018 for Puerto Rico and the Virgin Islands under paragraph (1)— (A) shall be made after the determination of the allotments for Puerto Rico and the Virgin Islands for fiscal year 2018 under section 2003 of the Social Security Act ( 42 U.S.C. 1397b ); and (B) shall not affect the amount of the allotment determined for fiscal year 2018 for any other State under such section. (c) Special rules (1) Notwithstanding section 2002(c) of the Social Security Act ( 42 U.S.C. 1397a(c) ), the increase in the allotments for Puerto Rico and the Virgin Islands for fiscal year 2018 shall remain available until expended, without fiscal year limitation. (2) Paragraphs (1) and (4) of section 2005(a) of the Social Security Act ( 42 U.S.C. 1397d(a) ) shall not apply to the increase in the allotments for Puerto Rico and the Virgin Islands for fiscal year 2018 under subsection (b). IV Agriculture 401. Rural Utilities Service programs (a) Water and environmental programs Out of funds of the Treasury not otherwise appropriated, there is appropriated to the Administrator of the Rural Utilities Service $284,000,000 for fiscal year 2018, to remain available until expended, to provide for eligible programs and activities in Puerto Rico and the Virgin Islands— (1) water or waste disposal grants under section 306(a)(2) of the Consolidated Farm and Rural Development Act ( 7 U.S.C. 1926(a)(2) ); (2) rural water or wastewater technical assistance and training grants under section 306(a)(14) of that Act ( 7 U.S.C. 1926(a)(14) ); (3) emergency community water assistance grants under section 306A of that Act ( 7 U.S.C. 1926a )