50045 in words is written as :

Fifty Thousand Forty Five