6987 in words is written as :

Six Thousand Nine Hundred and Eighty Seven