4587 in words is written as :

Four Thousand Five Hundred and Eighty Seven