; (ii) to the provision of medicines, medical equipment, and humanitarian assistance; or (iii) to any credit, credit guarantee, or financial assistance provided by the Department of Agriculture to support the purchase of food or other agricultural commodities. (F) (i) The President may exercise of all powers granted to the President by the International Emergency Economic Powers Act ( 50 U.S.C. 1701 et seq.) (except that the requirements of section 202 of such Act ( 50 U.S.C. 1701 ) shall not apply) to the extent necessary to block and prohibit all transactions in all property and interests in property of a foreign person or agency or instrumentality of the foreign state if such property and interests in property are in the United States, come within the United States, or are or come within the possession or control of a United States person. (ii) The penalties provided for in subsections (b) and (c) of section 206 of the International Emergency Economic Powers Act ( 50 U.S.C. 1705 ) shall apply to a person that knowingly violates, attempts to violate, conspires to violate, or causes a violation of regulations promulgated under section 501(a) to carry out clause (i) to the same extent that such penalties apply to a person that knowingly commits an unlawful act described in section 206(a) of that Act. (iii) The President may exercise all authorities provided to the President under sections 203 and 205 of the International Emergency Economic Powers Act ( 50 U.S.C. 1702 and 1704) for purposes of carrying out clause (i). (3) Exception The President shall not be required to apply sanctions with respect to a foreign person or an agency or instrumentality of a foreign state identified pursuant to subsection (a) if the President certifies in writing to the appropriate congressional committees that— (A) the foreign person or agency or instrumentality of the foreign state— (i) is no longer carrying out activities or transactions for which the sanctions were imposed pursuant to this subsection