Iran's Ahmadinejad writes open letter to Trump