; (B) Australia; or (C) a G7 country. (2) Exception relating to the provision of humanitarian assistance Sanctions under this section may not be imposed with respect to transactions or the facilitation of transactions for— (A) the provision of humanitarian assistance; and (B) transporting goods or services that are necessary to carry out operations relating to humanitarian assistance or humanitarian purposes; (3) Exception for safety of vessels and crew Sanctions under this section shall not apply with respect to a person providing provisions to a vessel otherwise subject to sanctions under this section if such provisions are intended for the safety and care of the crew aboard the vessel, the protection of human life aboard the vessel, or the maintenance of the vessel to avoid any environmental or other significant damage. (4) Exception to comply with national security The following activities shall be exempt from sanctions under this section: (A) Activities subject to the reporting requirements under title V of the National Security Act of 1947 ( 50 U.S.C. 3091 et seq. ). (B) Any authorized intelligence, law enforcement, or other national security activities of the United States. (d) National interest waiver The President may waive the application of sanctions under this section with respect to a person if the President— (1) determines that the waiver is in the national interests of the United States; and (2) submits to the appropriate congressional committees a report on the waiver and the reasons for the waiver. (e) Implementation