6582 in words is written as :

Six Thousand Five Hundred and Eighty Two