The number 24874 (twenty-four thousand eight hundred seventy-four) is written in Roman numerals as follows: XXIVDCCCLXXIV