17707 in words is written as :

Seventeen Thousand Seven Hundred and Seven