The United Nations secretary general , Kofi Annan , said Sunday after meeting here with President Mahmoud Ahmadinejad of Iran that the president was willing to enter into negotiations on his country 's nuclear program but would not agree to suspending uranium enrichment beforehand , as demanded by the Security Council .