1017 in words is written as :

One Thousand Seventeen