The number 24771 (twenty-four thousand seven hundred seventy-one) is written in Roman numerals as follows: XXIVDCCLXXI