President Ahmadinejad said that if he is re-elected next month , he is ready to debate U.S. President Barack Obama at the United Nations in New York .