President Donald Trump says he's considering granting Hungary an exemption from U.S. sanctions on Russian energy.