The number 10877 (ten thousand eight hundred seventy-seven) is written in Roman numerals as follows: XDCCCLXXVII