17845 in words is written as :

Seventeen Thousand Eight Hundred and Forty Five