The number 24791 (twenty-four thousand seven hundred ninety-one) is written in Roman numerals as follows: XXIVDCCXCI