8045 in words is written as :

Eight Thousand Forty Five