80587 in words is written as :

Eighty Thousand Five Hundred and Eighty Seven