The number 24127 (twenty-four thousand one hundred twenty-seven) is written in Roman numerals as follows: XXIVCXXVII