20039 in words is written as :

Twenty Thousand Thirty Nine