The number 23874 (twenty-three thousand eight hundred seventy-four) is written in Roman numerals as follows: XXIIIDCCCLXXIV