The number 20777 (twenty thousand seven hundred seventy-seven) is written in Roman numerals as follows: XXDCCLXXVII