9039 in words is written as :

Nine Thousand Thirty Nine