8781 in words is written as :

Eight Thousand Seven Hundred and Eighty One