6877 in words is written as :

Six Thousand Eight Hundred and Seventy Seven