The number 24879 (twenty-four thousand eight hundred seventy-nine) is written in Roman numerals as follows: XXIVDCCCLXXIX