With the weapons and nonweapons countries so divided , Kofi Annan , the United Nations secretary general , and Mohamed ElBaradei , the director general of the International Atomic Energy Agency , tried to find middle ground today .