585 in words is written as :

Five Hundred and Eighty Five