The number 23877 (twenty-three thousand eight hundred seventy-seven) is written in Roman numerals as follows: XXIIIDCCCLXXVII