17039 in words is written as :

Seventeen Thousand Thirty Nine