The number 20877 (twenty thousand eight hundred seventy-seven) is written in Roman numerals as follows: XXDCCCLXXVII