; (ii) production of the current crop; and (iii) imports to the latest date available during the marketing year. (2) Program The President shall carry out an import quota program that provides that whenever the Secretary determines and announces that the average price of the base quality of upland cotton, as determined by the Secretary, in the designated spot markets for a month exceeded 130 percent of the average price of the quality of cotton in the markets for the preceding 36 months, notwithstanding any other provision of law, there shall immediately be in effect a limited global import quota subject to the following conditions: (A) Quantity The quantity of the quota shall be equal to 21 days of domestic mill consumption of upland cotton at the seasonally adjusted average rate of the most recent 3 months for which official data of the Department of Agriculture are available or, in the absence of sufficient data, as estimated by the Secretary. (B) Quantity of prior quota If a quota has been established under this subsection during the preceding 12 months, the quantity of the quota next established under this subsection shall be the smaller of 21 days of domestic mill consumption calculated under subparagraph (A) or the quantity required to increase the supply to 130 percent of the demand. (C) Preferential tariff treatment The quantity under a limited global import quota shall be considered to be an in-quota quantity for purposes of— (i) section 213(d) of the Caribbean Basin Economic Recovery Act ( 19 U.S.C. 2703(d) ); (ii) section 204 of the Andean Trade Preference Act ( 19 U.S.C. 3203 ); (iii) section 503(d) of the Trade Act of 1974 ( 19 U.S.C. 2463(d) )