20777 in words is written as :

Twenty Thousand Seven Hundred and Seventy Seven