5677 in words is written as :

Five Thousand Six Hundred and Seventy Seven