1045 in words is written as :

One Thousand Forty Five