4045 in words is written as :

Four Thousand Forty Five