The number 24971 (twenty-four thousand nine hundred seventy-one) is written in Roman numerals as follows: XXIVCMLXXI