8789 in words is written as :

Eight Thousand Seven Hundred and Eighty Nine