The number 24271 (twenty-four thousand two hundred seventy-one) is written in Roman numerals as follows: XXIVCCLXXI