The number 876877 (eight hundred seventy-six thousand eight hundred seventy-seven) is written in Roman numerals as follows: DCCCLXXVIDCCCLXXVII