8987 in words is written as :

Eight Thousand Nine Hundred and Eighty Seven