9587 in words is written as :

Nine Thousand Five Hundred and Eighty Seven