Imran writes letter to Ban Ki-moon